mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
now run 'php composer.phar update' in upgrade script
This commit is contained in:
parent
71f68e3e23
commit
5f38a7c152
2 changed files with 1 additions and 3 deletions
1
TODO
1
TODO
|
@ -1,4 +1,3 @@
|
||||||
- Check if path is not empty beforce install
|
- Check if path is not empty beforce install
|
||||||
- Set timezone in php5-fpm pool
|
- Set timezone in php5-fpm pool
|
||||||
- Movim init script should redirect to syslog
|
- Movim init script should redirect to syslog
|
||||||
- Upgrade php dependencies script
|
|
||||||
|
|
|
@ -21,8 +21,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Update PHP dependencies
|
# Update PHP dependencies
|
||||||
sudo su -c "curl -sS https://getcomposer.org/installer | php -- --install-dir=$final_path" movim
|
sudo su -c "cd $final_path && php composer.phar update" movim
|
||||||
sudo su -c "cd $final_path && php composer.phar install" 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…
Add table
Reference in a new issue