From 9a6bff376a2d185e2f13b43131ccadc685b29ac9 Mon Sep 17 00:00:00 2001 From: Thomas Metois Date: Fri, 10 Mar 2017 14:57:56 +0100 Subject: [PATCH] EVO: script update-all > check if config/autoload/local.php exist (conf Monarc) --- scripts/update-all.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/update-all.sh b/scripts/update-all.sh index e60e363..5a12465 100755 --- a/scripts/update-all.sh +++ b/scripts/update-all.sh @@ -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"