summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm/get_pkgs.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/get_pkgs.pm b/urpm/get_pkgs.pm
index ba62e0c7..ceef8e66 100644
--- a/urpm/get_pkgs.pm
+++ b/urpm/get_pkgs.pm
@@ -222,8 +222,8 @@ sub _download_packages_of_distant_media {
}
}
- $urpm->{log}(N("retrieving rpm files from medium \"%s\"...", $blist->{media}{name}));
- if (urpm::download::sync($urpm, $blist->{media}, [ urpm::blist_to_urls($blist) ],
+ $urpm->{log}(N("retrieving rpm files from medium \"%s\"...", $blist->{medium}{name}));
+ if (urpm::download::sync($urpm, $blist->{medium}, [ urpm::blist_to_urls($blist) ],
dir => "$cachedir/partial", quiet => $options{quiet},
resume => $urpm->{options}{resume}, callback => $options{callback})) {
$urpm->{log}(N("...retrieving done"));