aboutsummaryrefslogtreecommitdiff
path: root/app/backup/backupninja/backupninja.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'app/backup/backupninja/backupninja.SlackBuild')
-rwxr-xr-xapp/backup/backupninja/backupninja.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/backup/backupninja/backupninja.SlackBuild b/app/backup/backupninja/backupninja.SlackBuild
index 2f96756a..fb8e94fd 100755
--- a/app/backup/backupninja/backupninja.SlackBuild
+++ b/app/backup/backupninja/backupninja.SlackBuild
@@ -82,9 +82,11 @@ make DESTDIR=$TMP/package-$PACKAGE install || exit $ERROR_INSTALL
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
+# TODO: remove this line if the handler was added to backupninja tree
+cp $CWD/wget $TMP/package-$PACKAGE/usr/share/$PACKAGE/
+
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