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