diff options
Diffstat (limited to 'source/a/pkgtools/scripts/upgradepkg')
-rw-r--r-- | source/a/pkgtools/scripts/upgradepkg | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/a/pkgtools/scripts/upgradepkg b/source/a/pkgtools/scripts/upgradepkg index 500a970a..3ee3c658 100644 --- a/source/a/pkgtools/scripts/upgradepkg +++ b/source/a/pkgtools/scripts/upgradepkg @@ -87,8 +87,7 @@ EOF TMP=$ROOT/var/log/setup/tmp # If the $TMP directory doesn't exist, create it: if [ ! -d $TMP ]; then - rm -rf $TMP # make sure it's not a symlink or something stupid - mkdir $TMP + mkdir -p $TMP chmod 700 $TMP # no need to leave it open fi |