summaryrefslogtreecommitdiffstats
path: root/perl-install/install/any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install/any.pm')
-rw-r--r--perl-install/install/any.pm5
1 files changed, 5 insertions, 0 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');