diff options
-rwxr-xr-x | patches/php/php.SlackBuild | 4 | ||||
-rwxr-xr-x | patches/pine/pine.SlackBuild | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/patches/php/php.SlackBuild b/patches/php/php.SlackBuild index dc65be46..bc72c1d3 100755 --- a/patches/php/php.SlackBuild +++ b/patches/php/php.SlackBuild @@ -327,3 +327,7 @@ fi cd $PKG makepkg -l y -c n $REPOS/php-$VERSION-$ARCH-$BUILD.tgz +if [ "$CLEANUP" == "yes" ]; then + rm -rf $TMP +fi + diff --git a/patches/pine/pine.SlackBuild b/patches/pine/pine.SlackBuild index 68e0af6b..2623227c 100755 --- a/patches/pine/pine.SlackBuild +++ b/patches/pine/pine.SlackBuild @@ -149,8 +149,7 @@ cd $PKG2 makepkg -l y -c n $REPOS/imapd-$VERSION-$ARCH-$IMAPDBUILD.tgz # Clean up the extra stuff: -if [ "$1" = "--cleanup" ]; then - rm -rf $TMP/pine$VERSION - rm -rf $PKG1 - rm -rf $PKG2 +if [ "$CLEANUP" == "yes" ]; then + rm -rf $TMP fi + |