mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-08 11:52:32 +01:00
Merge branch 'patch-1' into 'master'
Fixes for configuration files without suffix. Closes #11287 See merge request riseuplabs/backupninja!16
This commit is contained in:
commit
464b84dcfe
@ -588,9 +588,9 @@ for file in $files; do
|
||||
|
||||
check_perms ${file%/*} # check containing dir
|
||||
check_perms $file
|
||||
suffix="${file##*.}"
|
||||
base=`basename $file`
|
||||
if [ "${base:0:1}" == "0" -o "$suffix" == "disabled" ]; then
|
||||
suffix="${base##*.}"
|
||||
if [ "${base:0:1}" == "0" -o "$suffix" == "disabled" -o "$suffix" == "$base" ]; then
|
||||
info "Skipping $file"
|
||||
continue
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user