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
+1 -1
View File
@@ -1,5 +1,5 @@
Package: autobackup Package: autobackup
Version: 1.0 Version: 1.1
Architecture: all Architecture: all
Maintainer: zankia <admin@zankia.fr> Maintainer: zankia <admin@zankia.fr>
Description: automatically backup directories on a regular basis Description: automatically backup directories on a regular basis
+4 -4
View File
@@ -2,8 +2,8 @@
if [ -f config.properties ]; then if [ -f config.properties ]; then
source config.properties source config.properties
elif [ -f /etc/autoBackup/config.properties ]; then elif [ -f /etc/autobackup/config.properties ]; then
source /etc/autoBackup/config.properties source /etc/autobackup/config.properties
else else
>&2 echo Could not find config.properties >&2 echo Could not find config.properties
exit 1 exit 1
@@ -11,8 +11,8 @@ fi
if [ -f backup.list ]; then if [ -f backup.list ]; then
SOURCE_LIST_FILE=backup.list SOURCE_LIST_FILE=backup.list
elif [ -f /etc/autoBackup/backup.list ]; then elif [ -f /etc/autobackup/backup.list ]; then
SOURCE_LIST_FILE=/etc/autoBackup/backup.list SOURCE_LIST_FILE=/etc/autobackup/backup.list
else else
>&2 echo Could not find backup.list >&2 echo Could not find backup.list
exit 1 exit 1