aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index f39bcffa..5194a2df 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -555,7 +555,7 @@ sub mirrors {
require Rpmdrake::gurpm;
require Rpmdrake::pkg;
- my $res = urpm::download::sync($urpm, undef, [ $url ],
+ my $res = urpm::download::sync_url($urpm, $url,
dir => $cachedir,
callback => sub {
$gurpm ||=