aboutsummaryrefslogtreecommitdiff
path: root/www/apps
diff options
context:
space:
mode:
Diffstat (limited to 'www/apps')
-rwxr-xr-xwww/apps/moin/moin.SlackBuild8
-rwxr-xr-xwww/apps/trac/trac.SlackBuild8
2 files changed, 14 insertions, 2 deletions
diff --git a/www/apps/moin/moin.SlackBuild b/www/apps/moin/moin.SlackBuild
index 24d2b911..cdaa5911 100755
--- a/www/apps/moin/moin.SlackBuild
+++ b/www/apps/moin/moin.SlackBuild
@@ -35,7 +35,13 @@ REPOS=${REPOS:=$TMP}
rm -rf $TMP/$PACKAGE
mkdir -p $SRC_DIR/$PACKAGE $TMP/$PACKAGE $REPOS
-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
diff --git a/www/apps/trac/trac.SlackBuild b/www/apps/trac/trac.SlackBuild
index d97b26db..090ad568 100755
--- a/www/apps/trac/trac.SlackBuild
+++ b/www/apps/trac/trac.SlackBuild
@@ -35,7 +35,13 @@ REPOS=${REPOS:=$TMP}
rm -rf $TMP/$PACKAGE
mkdir -p $SRC_DIR/$PACKAGE $TMP/$PACKAGE $REPOS
-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