summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--urpm/main_loop.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index ef4d1ada..f5d84574 100644
--- a/NEWS
+++ b/NEWS
@@ -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");