Skip to content
Snippets Groups Projects
Commit 8776e3a3 authored by intrigeri's avatar intrigeri
Browse files

ninjahelper: Recursively ignore subdirs in /etc/backup.d (Finally Closes: #361102)

parent 098952b6
No related branches found
No related tags found
No related merge requests found
...@@ -2,8 +2,8 @@ version 0.9.4 -- unreleased ...@@ -2,8 +2,8 @@ version 0.9.4 -- unreleased
backupninja changes backupninja changes
. Fixed bug in toint(), and thus isnow(), which caused it . Fixed bug in toint(), and thus isnow(), which caused it
to not work when run from cron. to not work when run from cron.
. Recursively ignore subdirs in /etc/backup.d (Closes: #361102)
handler changes handler changes
Recursively ignore subdirs in /etc/backup.d (Closes: #361102)
Added tar handler Added tar handler
mysql: mysql:
. Fixed improper use of $vuserhome (Closes: #351083) . Fixed improper use of $vuserhome (Closes: #351083)
...@@ -31,6 +31,8 @@ version 0.9.4 -- unreleased ...@@ -31,6 +31,8 @@ version 0.9.4 -- unreleased
vserver: vserver:
. init_vservers: fixed Debian bug #351083 (improper readlink syntax) . init_vservers: fixed Debian bug #351083 (improper readlink syntax)
. found_vservers: escaped special grep repetition character + . found_vservers: escaped special grep repetition character +
ninjahelper changes
. Recursively ignore subdirs in /etc/backup.d (Closes: #361102)
changed cron permissions to 644 changed cron permissions to 644
minor documentation fixes minor documentation fixes
......
...@@ -257,7 +257,7 @@ while true; do ...@@ -257,7 +257,7 @@ while true; do
menulist= menulist=
action= action=
let "i = 1" let "i = 1"
for file in `find $conf/etc/backup.d/ -type f | sort -n`; do for file in `find $conf/etc/backup.d/ -mindepth 1 -maxdepth 1 -type f ! -name '.*.swp' | sort -n`; do
menulist="$menulist $i $file" menulist="$menulist $i $file"
actions[$i]=$file actions[$i]=$file
let "i += 1" let "i += 1"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment