fix: etc dirname
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user