EVO: script update-all > check if config/autoload/local.php exist (conf Monarc)
parent
9593d7983c
commit
4908f7c465
|
@ -8,6 +8,11 @@ pull_if_exists() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [[ ! -f "config/autoload/local.php" ]]; then
|
||||||
|
echo "Configure Monarc (config/autoload/local.php)"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
phpcommand=`command -v php`
|
phpcommand=`command -v php`
|
||||||
if [[ -z "$phpcommand" ]]; then
|
if [[ -z "$phpcommand" ]]; then
|
||||||
echo "PHP must be installed"
|
echo "PHP must be installed"
|
||||||
|
|
Loading…
Reference in New Issue