diff options
Diffstat (limited to 'source/a/pkgtools/scripts/installpkg')
-rw-r--r-- | source/a/pkgtools/scripts/installpkg | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/a/pkgtools/scripts/installpkg b/source/a/pkgtools/scripts/installpkg index 16e2e47e..b777442a 100644 --- a/source/a/pkgtools/scripts/installpkg +++ b/source/a/pkgtools/scripts/installpkg @@ -258,7 +258,6 @@ ADM_DIR="$ROOT/var/log" # If the directories don't exist, "initialize" the package database: for PKGDBDIR in packages removed_packages removed_scripts scripts setup ; do if [ ! -d $ADM_DIR/$PKGDBDIR ]; then - rm -rf $ADM_DIR/$PKGDBDIR # make sure it's not a symlink or something stupid mkdir -p $ADM_DIR/$PKGDBDIR chmod 755 $ADM_DIR/$PKGDBDIR fi @@ -268,7 +267,6 @@ done TMP=$ADM_DIR/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 -p $TMP chmod 700 $TMP # no need to leave it open fi |