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:
parent
c36a234b7f
commit
51081e2889
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue