summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-20 14:02:06 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-20 14:02:06 +0000
commit3682ad3fd865ae0ec8543e37753fb73c73dbe2e0 (patch)
tree17a92fb48d91b824789572df7f0a07d8d9865326
parent0904c05e45d5eba7b833f6db16ac5d7e7af3f92b (diff)
downloadurpmi-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?)
-rwxr-xr-xurpmq3
1 files changed, 2 insertions, 1 deletions
diff --git a/urpmq b/urpmq
index f361d7a1..e0d98191 100755
--- a/urpmq
+++ b/urpmq
@@ -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;
}
}
}