From 496b614594ef3b244578c23cefb0e3c493089f6c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 29 Nov 2006 18:20:54 +0000 Subject: create $root/var/lib/rpm (it would need to be done with --root too...) --- urpm.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 { -- cgit v1.2.1