fix: etc dirname

This commit is contained in:
zankia
2024-02-19 00:15:33 +01:00
parent 20234ca3fc
commit 316d86aefa
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -2,8 +2,8 @@
if [ -f config.properties ]; then
source config.properties
elif [ -f /etc/autoBackup/config.properties ]; then
source /etc/autoBackup/config.properties
elif [ -f /etc/autobackup/config.properties ]; then
source /etc/autobackup/config.properties
else
>&2 echo Could not find config.properties
exit 1
@@ -11,8 +11,8 @@ fi
if [ -f backup.list ]; then
SOURCE_LIST_FILE=backup.list
elif [ -f /etc/autoBackup/backup.list ]; then
SOURCE_LIST_FILE=/etc/autoBackup/backup.list
elif [ -f /etc/autobackup/backup.list ]; then
SOURCE_LIST_FILE=/etc/autobackup/backup.list
else
>&2 echo Could not find backup.list
exit 1