diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-12-02 13:04:15 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-12-02 13:04:15 +0000 |
commit | a4ee1b93e14e2156f4d854437d85570dbfcfa759 (patch) | |
tree | 2098c216e0bf01064fd2ed53230076bb162657ed | |
parent | 80417cf6948d61ea6100016c8ed2e8c7336c9c0a (diff) | |
download | urpmi-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")
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | urpm/main_loop.pm | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,7 @@ - library: o fix an incomplete message + o fix --download-all (mga#8272) + (broken by "make --use-distrib works as user" in 7.9) Version 7.11.1 - 17 November 2012, by Thierry Vignaud 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"); |