summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 403d2fbc..1c543a56 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -70,7 +70,9 @@ sub set_files {
require File::Path;
File::Path::mkpath([ $h{statedir},
(map { "$h{cachedir}/$_" } qw(headers partial rpms)),
- dirname($h{config}) ]);
+ dirname($h{config}),
+ "$urpmi_root/var/lib/rpm",
+ ]);
}
sub protocol_from_url {