From 5872a94c336845e59a680dd55fb25d24b581eb08 Mon Sep 17 00:00:00 2001 From: rhatto Date: Thu, 31 Aug 2006 18:32:39 +0000 Subject: php and pine update git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@100 370017ae-e619-0410-ac65-c121f96126d4 --- patches/php/php.SlackBuild | 4 ++++ 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 + -- cgit v1.2.3