From 51081e288917c670695157554f78ec0de5894e47 Mon Sep 17 00:00:00 2001 From: Xavier ROOT Date: Tue, 15 Dec 2015 11:57:10 +0100 Subject: [PATCH] delete composer.lock and install instead of update --- scripts/upgrade | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 45e66b8..7c0c702 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -30,8 +30,9 @@ else fi # Update PHP dependencies -sudo su -c "cd $final_path && php composer.phar config --global discard-changes true" movim # auto y -sudo su -c "cd $final_path && php composer.phar update -n" movim # upgrade + quiet +sudo su -c "cd $final_path && rm composer.lock" +sudo su -c "cd $final_path && php composer.phar config --global discard-changes true" movim +sudo su -c "cd $final_path && php composer.phar install -n" movim # Movim configuration sudo sed -i "s@/ws/@$path/ws/@g" $final_path/app/assets/js/movim_websocket.js