diff options
author | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2007-05-03 15:28:27 +0000 |
---|---|---|
committer | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2007-05-03 15:28:27 +0000 |
commit | 9a19d09c2ed6d64adb3bd3469478f908ae7cc7c7 (patch) | |
tree | 6aa82a69356f0c33e16d93bcf3f20c2e9b6c3c47 /patches/gnupg | |
parent | 7a060d335ec72f07e3ab10f6292fdb66e5532cfc (diff) | |
download | slackbuilds-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/gnupg')
-rwxr-xr-x | patches/gnupg/gnupg.SlackBuild | 7 |
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 + |