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.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm.pm') diff --git a/urpm.pm b/urpm.pm index 34745d7a..5eacb51a 100644 --- a/urpm.pm +++ b/urpm.pm @@ -280,7 +280,7 @@ sub register_rpms { my $basename = basename($_); unlink "$urpm->{cachedir}/partial/$basename"; $urpm->{log}(N("retrieving rpm file [%s] ...", $_)); - if (urpm::download::sync($urpm, undef, [$_], quiet => 1)) { + if (urpm::download::sync_url($urpm, $_, quiet => 1)) { $urpm->{log}(N("...retrieving done")); $_ = "$urpm->{cachedir}/partial/$basename"; } else { -- cgit v1.2.1