summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
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");