From 94cfc57850981b85f9fc027621a3439e9d36eb9b Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 3 Sep 2008 13:31:37 +0000 Subject: create urpm::download::sync_url() and use it --- urpm/media.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'urpm/media.pm') 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; } -- cgit v1.2.1