diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-09-03 13:28:54 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-09-03 13:28:54 +0000 |
commit | 20e09e364291f0b52f751c736282a790aad7442c (patch) | |
tree | ce25a9c88fc93bddc501d2cbd564d5c694fbcb3f /urpm | |
parent | a4441531ab66d5b9f73309da3547c112bb6c0f66 (diff) | |
download | urpmi-20e09e364291f0b52f751c736282a790aad7442c.tar urpmi-20e09e364291f0b52f751c736282a790aad7442c.tar.gz urpmi-20e09e364291f0b52f751c736282a790aad7442c.tar.bz2 urpmi-20e09e364291f0b52f751c736282a790aad7442c.tar.xz urpmi-20e09e364291f0b52f751c736282a790aad7442c.zip |
- create urpm::blist_to_filenames()
- use it and sync_rel()
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/get_pkgs.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/get_pkgs.pm b/urpm/get_pkgs.pm index 6e3ebfc4..82bccb01 100644 --- a/urpm/get_pkgs.pm +++ b/urpm/get_pkgs.pm @@ -220,7 +220,7 @@ sub _download_packages_of_distant_media { } $urpm->{log}(N("retrieving rpm files from medium \"%s\"...", $blist->{medium}{name})); - if (urpm::download::sync($urpm, $blist->{medium}, [ urpm::blist_to_urls($blist) ], + if (urpm::download::sync_rel($urpm, $blist->{medium}, [ urpm::blist_to_filenames($blist) ], dir => "$cachedir/partial", quiet => $options{quiet}, resume => $urpm->{options}{resume}, callback => $options{callback})) { $urpm->{log}(N("...retrieving done")); |