From 4908f7c465f1a9550f76d0cd8651102da47f8e9f Mon Sep 17 00:00:00 2001 From: Thomas Metois Date: Fri, 10 Mar 2017 14:53:48 +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 534f872..9f344b2 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"