aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpostgrey/postgrey.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/postgrey/postgrey.SlackBuild b/postgrey/postgrey.SlackBuild
index ffd62ae9..cda0df38 100755
--- a/postgrey/postgrey.SlackBuild
+++ b/postgrey/postgrey.SlackBuild
@@ -103,3 +103,7 @@ echo '( if [ ! -f "etc/postfix/postgrey_whitelist_clients" ]; then mv etc/postfi
makepkg -c y -l y $REPOS/$PACKAGE-$VERSION-$ARCH-$BUILD.tgz
+if [ "$CLEANUP" == "yes" ]; then
+ rm -rf $TMP
+fi
+