aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlibiconv/libiconv.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/libiconv/libiconv.SlackBuild b/libiconv/libiconv.SlackBuild
index b3cfd1dd..c01e6277 100755
--- a/libiconv/libiconv.SlackBuild
+++ b/libiconv/libiconv.SlackBuild
@@ -103,3 +103,7 @@ echo 'chroot . /sbin/ldconfig' > install/doinst.sh
makepkg -c y -l y $REPOS/$PACKAGE-$VERSION-$ARCH-$BUILD.tgz
+if [ "$CLEANUP" == "yes" ]; then
+ rm -rf $TMP
+fi
+