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

pull/8/head
Thomas Metois 2017-03-10 14:57:56 +01:00
parent c6c31c5ead
commit 9a6bff376a
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"