diff options
-rw-r--r-- | urpm.pm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1814,7 +1814,7 @@ this could happen if you mounted manually the directory when creating the medium foreach ($urpm->parse_armored_file("$urpm->{cachedir}/partial/pubkey")) { my $id; foreach my $kv (values %{$urpm->{keys} || {}}) { - $kv->{content} = $_->{content} and $key_ids{$id = $kv->{id}} = undef, last; + $kv->{content} eq $_->{content} and $key_ids{$id = $kv->{id}} = undef, last; } unless ($id) { #- the key has not been found, this is important to import it now, @@ -1825,7 +1825,7 @@ this could happen if you mounted manually the directory when creating the medium $urpm->parse_pubkeys(root => $urpm->{root}); foreach my $kv (values %{$urpm->{keys} || {}}) { - $kv->{content} = $_->{content} and $key_ids{$id = $kv->{id}} = undef, last; + $kv->{content} eq $_->{content} and $key_ids{$id = $kv->{id}} = undef, last; } #- now id should be defined, or there is a problem to import the keys... |