diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-03-09 10:26:01 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-03-09 10:26:01 +0000 |
commit | 98719ec16b6be91313351dd47d59ee3c58bd686e (patch) | |
tree | aa511e1019595070b9e241816a302d91f30f2370 /perl-install/install | |
parent | cc636c51a74a9c24a157f379e3810034cf44879a (diff) | |
download | drakx-98719ec16b6be91313351dd47d59ee3c58bd686e.tar drakx-98719ec16b6be91313351dd47d59ee3c58bd686e.tar.gz drakx-98719ec16b6be91313351dd47d59ee3c58bd686e.tar.bz2 drakx-98719ec16b6be91313351dd47d59ee3c58bd686e.tar.xz drakx-98719ec16b6be91313351dd47d59ee3c58bd686e.zip |
(install_urpmi) stop importing pubkeys, already done by urpmi
Diffstat (limited to 'perl-install/install')
-rw-r--r-- | perl-install/install/media.pm | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/perl-install/install/media.pm b/perl-install/install/media.pm index 7ec5085ac..f9b4b7022 100644 --- a/perl-install/install/media.pm +++ b/perl-install/install/media.pm @@ -894,19 +894,6 @@ sub install_urpmi { #- clean to avoid opening twice the rpm db. delete $packages->{rpmdb}; - #- import pubkey in rpmdb. - my $db = install::pkgs::open_rpm_db_rw(); - foreach my $medium (@media) { - URPM::import_needed_pubkeys_from_file($db, $medium->{pubkey}, sub { - my ($id, $imported) = @_; - if ($id) { - log::l(($imported ? "imported" : "found") . " key=$id for medium $medium->{name}"); - $medium->{'key-ids'} = $id; - } - }); - unlink $medium->{pubkey}; - } - my (@cfg, @netrc); foreach my $medium (@media) { if ($medium->{selected}) { |