aboutsummaryrefslogtreecommitdiff
path: root/munin
diff options
context:
space:
mode:
Diffstat (limited to 'munin')
-rwxr-xr-xmunin/munin.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/munin/munin.SlackBuild b/munin/munin.SlackBuild
index eef75141..dc284928 100755
--- a/munin/munin.SlackBuild
+++ b/munin/munin.SlackBuild
@@ -25,5 +25,8 @@ REPOS=${REPOS:=$TMP}
rm -rf $TMP/$PACKAGE
mkdir -p $SRC_DIR/$PACKAGE $TMP/$PACKAGE
-slacktrack -x $TMP,$SRC_DIR,/dev,/tmp -jefkzp "$PACKAGE-$VERSION-$ARCH-$BUILD.tgz" "./$PACKAGE.build"
+slacktrack -b $REPOS -x $TMP,$SRC_DIR,/dev,/tmp -jefkzp "$PACKAGE-$VERSION-$ARCH-$BUILD.tgz" "./$PACKAGE.build"
+if [ "$CLEANUP" == "yes" ]; then
+ rm -rf $TMP/$PACKAGE
+fi