Fixed DB-name configuration

This commit is contained in:
Bram Prieshof
2020-06-12 11:12:08 +02:00
parent 8e664cef8a
commit 7b92623720

View File

@@ -41,7 +41,7 @@ fi
# Backup-util Site Setup #
##############################
if [ -z ${db_suffix+x} ]; then db_suffix=`expr $(ls -l /var/www | grep -c ^d)`;fi
if [ -z ${db_suffix+x} ]; then db_suffix=`expr $(ls -l /var/www | grep -c ^d) - 1`;fi
wget -q -t7 "$mrepo"/raw/branch/"$mbranch"/config/Motd/50-bckupnotice -O /etc/update-motd.d/50-bckupnotice
chmod +x /etc/update-motd.d/50-bckupnotice