summaryrefslogtreecommitdiffstats
path: root/urpm/media.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/media.pm')
-rw-r--r--urpm/media.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index 269626fc..ca7e8c4b 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -906,8 +906,8 @@ sub _new_distribconf_and_download {
$distribconf->settree('mandriva');
$urpm->{log}(N("retrieving media.cfg file..."));
- urpm::download::sync($urpm, undef,
- [ reduce_pathname($distribconf->getfullpath(undef, 'infodir') . '/media.cfg') ],
+ urpm::download::sync_url($urpm,
+ reduce_pathname($distribconf->getfullpath(undef, 'infodir') . '/media.cfg'),
quiet => 1) or return;
$distribconf;
}