From 9a19d09c2ed6d64adb3bd3469478f908ae7cc7c7 Mon Sep 17 00:00:00 2001 From: rhatto Date: Thu, 3 May 2007 15:28:27 +0000 Subject: patches/gnupg: small change git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1203 370017ae-e619-0410-ac65-c121f96126d4 --- patches/gnupg/gnupg.SlackBuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'patches/gnupg') diff --git a/patches/gnupg/gnupg.SlackBuild b/patches/gnupg/gnupg.SlackBuild index 0fb05862..9b4bddc2 100755 --- a/patches/gnupg/gnupg.SlackBuild +++ b/patches/gnupg/gnupg.SlackBuild @@ -371,7 +371,8 @@ cd $PKG makepkg -l y -c n $REPOS/gnupg-$VERSION-$ARCH-$BUILD.tgz || exit $ERROR_MKPKG # Clean up the extra stuff: -if [ "$1" = "--cleanup" ]; then - rm -rf $TMP/gnupg-$VERSION - rm -rf $PKG + +if [ "$CLEANUP" == "yes" ]; then + rm -rf $TMP fi + -- cgit v1.2.3