summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/media.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index 5a058803..59ea1cb4 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -1544,7 +1544,7 @@ sub _read_cachedir_pubkey {
my $db = urpm::db_open_or_die($urpm, $urpm->{root}, 'rw');
my %key_ids;
- URPM::import_pubkeys($db,
+ URPM::import_needed_pubkeys_from_file($db,
"$urpm->{cachedir}/partial/pubkey",
sub {
my ($id, $imported) = @_;