]> gitweb.fluxo.info Git - slackbuilds.git/commitdiff
patches/gnupg: small change
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Thu, 3 May 2007 15:28:27 +0000 (15:28 +0000)
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Thu, 3 May 2007 15:28:27 +0000 (15:28 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1203 370017ae-e619-0410-ac65-c121f96126d4

patches/gnupg/gnupg.SlackBuild

index 0fb058628318175c566e71801f992a87c710c7ae..9b4bddc20a8d9897b5650fad9467b7e3f7414961 100755 (executable)
@@ -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
+