summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-09-04 13:50:09 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-09-04 13:50:09 +0000
commit542aa55f7bee301752370c9a51e9af2490c6a781 (patch)
tree88328b2baa70d17d4f901996f3b6efa942ef7b40 /urpm.pm
parentee0d94725b20dcf88950a2af0527db8e23aad5f5 (diff)
downloadurpmi-542aa55f7bee301752370c9a51e9af2490c6a781.tar
urpmi-542aa55f7bee301752370c9a51e9af2490c6a781.tar.gz
urpmi-542aa55f7bee301752370c9a51e9af2490c6a781.tar.bz2
urpmi-542aa55f7bee301752370c9a51e9af2490c6a781.tar.xz
urpmi-542aa55f7bee301752370c9a51e9af2490c6a781.zip
simplify: always create "partial" and "rpms" in "userdir", that way we can use
userdir() in most cases
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/urpm.pm b/urpm.pm
index 5eacb51a..f0ac28f6 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -113,6 +113,9 @@ sub userdir {
$urpm->{cachedir} = $dir;
+ mkdir "$dir/partial";
+ mkdir "$dir/rpms";
+
$dir;
}