aboutsummaryrefslogtreecommitdiff
path: root/app/admin/denyhosts
diff options
context:
space:
mode:
Diffstat (limited to 'app/admin/denyhosts')
-rwxr-xr-xapp/admin/denyhosts/denyhosts.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/admin/denyhosts/denyhosts.SlackBuild b/app/admin/denyhosts/denyhosts.SlackBuild
index 948e579e..97ef0f00 100755
--- a/app/admin/denyhosts/denyhosts.SlackBuild
+++ b/app/admin/denyhosts/denyhosts.SlackBuild
@@ -35,7 +35,13 @@ REPOS=${REPOS:=$TMP}
rm -rf $TMP/$PACKAGE
mkdir -p $SRC_DIR/$PACKAGE $TMP/$PACKAGE
-slacktrack -b $REPOS -x $TMP,$SRC_DIR,/dev -jefkzp "$PACKAGE-$VERSION-$ARCH-$BUILD.tgz" "./$PACKAGE.build"
+export PACKAGE VERSION ARCH BUILD SRC_DIR TMP REPOS
+
+if which simpletrack &> /dev/null; then
+ simpletrack $PACKAGE.build
+else
+ slacktrack -b $REPOS -x $TMP,$SRC_DIR,/dev -jefkzp "$PACKAGE-$VERSION-$ARCH-$BUILD.tgz" "./$PACKAGE.build"
+fi
if [ "$CLEANUP" == "yes" ]; then
rm -rf $TMP/$PACKAGE