1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00

delete composer.lock and install instead of update

This commit is contained in:
Xavier ROOT 2015-12-15 11:57:10 +01:00
parent c36a234b7f
commit 51081e2889

View file

@ -30,8 +30,9 @@ else
fi fi
# Update PHP dependencies # 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 && rm composer.lock"
sudo su -c "cd $final_path && php composer.phar update -n" movim # upgrade + quiet 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 # Movim configuration
sudo sed -i "s@/ws/@$path/ws/@g" $final_path/app/assets/js/movim_websocket.js sudo sed -i "s@/ws/@$path/ws/@g" $final_path/app/assets/js/movim_websocket.js