summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-12-02 13:04:15 +0000
committerThierry Vignaud <tv@mageia.org>2012-12-02 13:04:15 +0000
commita4ee1b93e14e2156f4d854437d85570dbfcfa759 (patch)
tree2098c216e0bf01064fd2ed53230076bb162657ed /urpm
parent80417cf6948d61ea6100016c8ed2e8c7336c9c0a (diff)
downloadurpmi-a4ee1b93e14e2156f4d854437d85570dbfcfa759.tar
urpmi-a4ee1b93e14e2156f4d854437d85570dbfcfa759.tar.gz
urpmi-a4ee1b93e14e2156f4d854437d85570dbfcfa759.tar.bz2
urpmi-a4ee1b93e14e2156f4d854437d85570dbfcfa759.tar.xz
urpmi-a4ee1b93e14e2156f4d854437d85570dbfcfa759.zip
(_download_all) fix --download-all (mga#8272)
regression introduced by init_cache_dir() -> init_dir() renaming in commit r6192 on October 11 2012 : ("(init_cache_dir) rename as init_dir() which is more meaningful")
Diffstat (limited to 'urpm')
-rw-r--r--urpm/main_loop.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm
index 65fa73c5..d760f412 100644
--- a/urpm/main_loop.pm
+++ b/urpm/main_loop.pm
@@ -98,7 +98,7 @@ sub _download_all {
my ($urpm, $blists, $sources, $callbacks) = @_;
if ($urpm->{options}{'download-all'}) {
$urpm->{cachedir} = $urpm->{'urpmi-root'} . $urpm->{options}{'download-all'};
- urpm::init_cache_dir($urpm, $urpm->{cachedir});
+ urpm::init_dir($urpm, $urpm->{cachedir});
}
my (undef, $available) = urpm::sys::df("$urpm->{cachedir}/rpms");