aboutsummaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-05-03 15:28:27 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-05-03 15:28:27 +0000
commit9a19d09c2ed6d64adb3bd3469478f908ae7cc7c7 (patch)
tree6aa82a69356f0c33e16d93bcf3f20c2e9b6c3c47 /patches
parent7a060d335ec72f07e3ab10f6292fdb66e5532cfc (diff)
downloadslackbuilds-9a19d09c2ed6d64adb3bd3469478f908ae7cc7c7.tar.gz
slackbuilds-9a19d09c2ed6d64adb3bd3469478f908ae7cc7c7.tar.bz2
patches/gnupg: small change
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1203 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'patches')
-rwxr-xr-xpatches/gnupg/gnupg.SlackBuild7
1 files changed, 4 insertions, 3 deletions
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
+