aboutsummaryrefslogtreecommitdiff
path: root/patches/pine/pine.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'patches/pine/pine.SlackBuild')
-rwxr-xr-xpatches/pine/pine.SlackBuild7
1 files changed, 3 insertions, 4 deletions
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
+