Add return code check after git pull

pull/165/head
William Robinet 2019-06-11 10:47:32 +02:00
parent 78bf96e9f8
commit 8c4831cd2c
1 changed files with 5 additions and 0 deletions

View File

@ -61,6 +61,11 @@ fi
$gitcommand pull $gitcommand pull
if [ $? != 0 ]; then
echo "A problem occurred while retrieving remote files from repository."
exit 1
fi
composercommand=`command -v composer` composercommand=`command -v composer`
if [[ -z "$composercommand" ]]; then if [[ -z "$composercommand" ]]; then
if [[ ! -f "composer.phar" ]]; then if [[ ! -f "composer.phar" ]]; then