summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install/any.pm4
-rw-r--r--perl-install/install/media.pm1
2 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm
index d349a5eb5..4871c7c29 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -341,6 +341,10 @@ sub setPackages {
}
}
+ # actually read synthesis now we have all the ones we want:
+ require urpm::media;
+ urpm::media::configure($urpm);
+
install::media::adjust_paths_in_urpmi_cfg($urpm);
log::l('urpmi completely set up');
diff --git a/perl-install/install/media.pm b/perl-install/install/media.pm
index d821ab8e2..659f73136 100644
--- a/perl-install/install/media.pm
+++ b/perl-install/install/media.pm
@@ -504,7 +504,6 @@ sub configure_media {
my ($packages) = @_;
urpm::media::update_media($packages, distrib => 1, callback => \&urpm::download::sync_logger) or
log::l('updating media failed');
- urpm::media::configure($packages);
}
sub get_media {