diff options
Diffstat (limited to 'app/backup')
-rwxr-xr-x | app/backup/backupninja/backupninja.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/backup/backupninja/backupninja.SlackBuild b/app/backup/backupninja/backupninja.SlackBuild index 5fd1b771..861b5bcb 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:=6rha} +BUILD=${BUILD:=7rha} SRC_DIR=${SRC:=$CWD} TMP=${TMP:=/tmp} REPOS=${REPOS:=$TMP} @@ -93,7 +93,10 @@ mkdir etc/backup.d chown -R root.root * chmod 600 etc/backup.d -mv etc/backupninja.conf etc/backupninja.conf.new +sed -e 's/\/usr\/var\/log/\/var\/log\/backup/g' etc/backupninja.conf > etc/backupninja.conf.new +rm etc/backupninja.conf +sed -e 's/\/usr\/var\/log/\/var\/log\/backup/g' etc/logrotate.d/backupninja > etc/logrotate.d/backupninja.new +mv etc/logrotate.d/backupninja.new etc/logrotate.d/backupninja mkdir install cat << EOF > install/slack-desc |