aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-10-03 19:43:10 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-10-03 19:43:10 +0000
commit9bc11749b0bf20f36d969314d425f1d67748dfa1 (patch)
tree4cfa83574dd840d1628baa8140e710bfcfae25f9 /app
parent5cc8fbc0c64dddab03dcf7949b713e6c3c6f567b (diff)
downloadslackbuilds-9bc11749b0bf20f36d969314d425f1d67748dfa1.tar.gz
slackbuilds-9bc11749b0bf20f36d969314d425f1d67748dfa1.tar.bz2
added simpletrack for all SlackBuild/build pair scripts
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1402 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'app')
-rwxr-xr-xapp/admin/denyhosts/denyhosts.SlackBuild8
-rwxr-xr-xapp/backup/duplicity/duplicity.SlackBuild8
-rwxr-xr-xapp/backup/rdiff-backup/rdiff-backup.SlackBuild8
-rwxr-xr-xapp/misc/wipe/wipe.SlackBuild8
4 files changed, 28 insertions, 4 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
diff --git a/app/backup/duplicity/duplicity.SlackBuild b/app/backup/duplicity/duplicity.SlackBuild
index a4f132ba..11ca136d 100755
--- a/app/backup/duplicity/duplicity.SlackBuild
+++ b/app/backup/duplicity/duplicity.SlackBuild
@@ -47,7 +47,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/app/backup/rdiff-backup/rdiff-backup.SlackBuild b/app/backup/rdiff-backup/rdiff-backup.SlackBuild
index 253b9745..466af7db 100755
--- a/app/backup/rdiff-backup/rdiff-backup.SlackBuild
+++ b/app/backup/rdiff-backup/rdiff-backup.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/app/misc/wipe/wipe.SlackBuild b/app/misc/wipe/wipe.SlackBuild
index 9782e0cd..3e56029a 100755
--- a/app/misc/wipe/wipe.SlackBuild
+++ b/app/misc/wipe/wipe.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