EVO: script update-all > check if config/autoload/local.php exist (conf Monarc)

pull/1/head
Thomas Metois 2017-03-10 14:53:48 +01:00
parent 9593d7983c
commit 4908f7c465
1 changed files with 5 additions and 0 deletions

View File

@ -8,6 +8,11 @@ pull_if_exists() {
fi
}
if [[ ! -f "config/autoload/local.php" ]]; then
echo "Configure Monarc (config/autoload/local.php)"
exit 1
fi
phpcommand=`command -v php`
if [[ -z "$phpcommand" ]]; then
echo "PHP must be installed"