add message if mysqldump is not instaled

This commit is contained in:
marcos 2020-04-07 16:37:20 +02:00
parent a73c9ecb22
commit 0f28a9c5b4
1 changed files with 3 additions and 0 deletions

View File

@ -70,6 +70,9 @@ done
# Execution
which mysqldump &>/dev/null
[ $? -eq 0 ] || echo -e "Command Mysqldump not found. \nIn order to make backups it is necessary to have mysqldump on your console."
if [ ! -e "$PANDORAPATH/include/config.php" ]
then
echo "Cannot read config file at $PANDORAPATH/include/config.php. Aborting"