diff options
-rwxr-xr-x | denyhosts/denyhosts.SlackBuild | 6 | ||||
-rwxr-xr-x | downtube/downtube.SlackBuild | 6 | ||||
-rwxr-xr-x | munin/munin.SlackBuild | 5 |
3 files changed, 14 insertions, 3 deletions
diff --git a/denyhosts/denyhosts.SlackBuild b/denyhosts/denyhosts.SlackBuild index 86d5082c..1cc27e94 100755 --- a/denyhosts/denyhosts.SlackBuild +++ b/denyhosts/denyhosts.SlackBuild @@ -20,9 +20,13 @@ ARCH="noarch" BUILD=${BUILD:=1rha} SRC_DIR=${SRC:=$CWD} TMP=${TMP:=/tmp} +REPOS=${REPOS:=$TMP} rm -rf $TMP/$PACKAGE mkdir -p $SRC_DIR/$PACKAGE $TMP/$PACKAGE -slacktrack -x $TMP,$SRC_DIR,/dev -jefkzp "$PACKAGE-$VERSION-$ARCH-$BUILD.tgz" "./$PACKAGE.build" +slacktrack -b $REPOS -x $TMP,$SRC_DIR,/dev -jefkzp "$PACKAGE-$VERSION-$ARCH-$BUILD.tgz" "./$PACKAGE.build" +if [ "$CLEANUP" == "yes" ]; then + rm -rf $TMP/$PACKAGE +fi diff --git a/downtube/downtube.SlackBuild b/downtube/downtube.SlackBuild index 012f1c7d..fd161e7f 100755 --- a/downtube/downtube.SlackBuild +++ b/downtube/downtube.SlackBuild @@ -20,9 +20,13 @@ ARCH="noarch" BUILD=${BUILD:=1rha} SRC_DIR=${SRC:=$CWD} TMP=${TMP:=/tmp} +REPOS=${REPOS:=$TMP} rm -rf $TMP/$PACKAGE mkdir -p $SRC_DIR/$PACKAGE $TMP/$PACKAGE -slacktrack -x $TMP,$SRC_DIR,/dev -jefkzp "$PACKAGE-$VERSION-$ARCH-$BUILD.tgz" "./$PACKAGE.build" +slacktrack -b $REPOS -x $TMP,$SRC_DIR,/dev -jefkzp "$PACKAGE-$VERSION-$ARCH-$BUILD.tgz" "./$PACKAGE.build" +if [ "$CLEANUP" == "yes" ]; then + rm -rf $TMP/$PACKAGE +fi 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 |