summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install/media.pm13
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}) {