summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install')
-rw-r--r--perl-install/install/any.pm5
-rw-r--r--perl-install/install/media.pm5
2 files changed, 5 insertions, 5 deletions
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm
index 23bd12df3..2698317e6 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -321,6 +321,11 @@ sub setPackages {
1 while $o->selectSupplMedia;
}
+ urpm::media::update_media($o->{packages}, distrib => 1, callback => \&urpm::download::sync_logger) or
+ log::l('updating media failed');
+ urpm::media::configure($o->{packages});
+ log::l('urpmi completely set up');
+
#- open rpm db according to right mode needed
$o->{packages}{rpmdb} ||= install::pkgs::rpmDbOpen('rebuild_if_needed');
diff --git a/perl-install/install/media.pm b/perl-install/install/media.pm
index fd23b8b4a..2b9719357 100644
--- a/perl-install/install/media.pm
+++ b/perl-install/install/media.pm
@@ -668,11 +668,6 @@ sub get_media_cfg {
}
_associate_phys_media($o->{all_hds}, $phys_medium, $packages->{media});
-
- urpm::media::update_media($packages, distrib => 1, callback => \&urpm::download::sync_logger) or
- log::l('updating media failed');
- urpm::media::configure($packages);
- log::l('urpmi completely set up');
log::l("get_media_cfg read " . int(@{$packages->{depslist}}) . " headers");