diff options
author | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2007-11-30 19:01:42 +0000 |
---|---|---|
committer | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2007-11-30 19:01:42 +0000 |
commit | d02f03087ac844ca179116b97d3a8a68acf9a364 (patch) | |
tree | bcf12644cf9428f2f8f5e0510960f3dc550017f9 /app/backup/backupninja/backupninja.SlackBuild | |
parent | bc1eee7a90be2db603115b00c72fc9ea77fbfc5b (diff) | |
download | slackbuilds-d02f03087ac844ca179116b97d3a8a68acf9a364.tar.gz slackbuilds-d02f03087ac844ca179116b97d3a8a68acf9a364.tar.bz2 |
backupninja: renamed 'rub' handler to 'rsync' and added 'wget' handler
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1476 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'app/backup/backupninja/backupninja.SlackBuild')
-rwxr-xr-x | app/backup/backupninja/backupninja.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/app/backup/backupninja/backupninja.SlackBuild b/app/backup/backupninja/backupninja.SlackBuild index 861b5bcb..2f96756a 100755 --- a/app/backup/backupninja/backupninja.SlackBuild +++ b/app/backup/backupninja/backupninja.SlackBuild @@ -28,7 +28,7 @@ fi PACKAGE="backupninja" ARCH="noarch" VERSION=${VERSION:=0.9.4} -BUILD=${BUILD:=7rha} +BUILD=${BUILD:=8rha} SRC_DIR=${SRC:=$CWD} TMP=${TMP:=/tmp} REPOS=${REPOS:=$TMP} @@ -80,7 +80,11 @@ fi make || exit $ERROR_MAKE make DESTDIR=$TMP/package-$PACKAGE install || exit $ERROR_INSTALL -cp $CWD/rub $TMP/package-$PACKAGE/usr/share/$PACKAGE/ +if [ "$VERSION" == "0.9.4" ]; then + cp $CWD/rsync $TMP/package-$PACKAGE/usr/share/$PACKAGE/ + cp $CWD/wget $TMP/package-$PACKAGE/usr/share/$PACKAGE/ +fi + rm -rf $TMP/package-$PACKAGE/etc/cron.d mkdir $TMP/package-$PACKAGE/etc/cron.hourly cp $CWD/backupninja.cron $TMP/package-$PACKAGE/etc/cron.hourly/backupninja |