diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-11-20 14:02:06 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-11-20 14:02:06 +0000 |
commit | 3682ad3fd865ae0ec8543e37753fb73c73dbe2e0 (patch) | |
tree | 17a92fb48d91b824789572df7f0a07d8d9865326 /urpmq | |
parent | 0904c05e45d5eba7b833f6db16ac5d7e7af3f92b (diff) | |
download | urpmi-3682ad3fd865ae0ec8543e37753fb73c73dbe2e0.tar urpmi-3682ad3fd865ae0ec8543e37753fb73c73dbe2e0.tar.gz urpmi-3682ad3fd865ae0ec8543e37753fb73c73dbe2e0.tar.bz2 urpmi-3682ad3fd865ae0ec8543e37753fb73c73dbe2e0.tar.xz urpmi-3682ad3fd865ae0ec8543e37753fb73c73dbe2e0.zip |
don't use obsolete method download_source_packages anymore.
nb: not handling anymore urpmq on removable media with no hdlist (does it exist?)
Diffstat (limited to 'urpmq')
-rwxr-xr-x | urpmq | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -342,7 +342,8 @@ if ($urpm::args::options{list_aliases}) { }; $packer->extract($tmp_header_dir, @headers); } elsif (!%downloads) { - %downloads = $urpm->download_source_packages({}, $list, nolock => $urpm::args::options{nolock}); + $urpm->download_packages_of_distant_media($list, \%downloads, my $error = {}); + warn "missing file $_\n" foreach values %$error; } } } |