diff --git a/TODO b/TODO index 0e1f8e4..3533768 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,3 @@ - Check if path is not empty beforce install - Set timezone in php5-fpm pool - Movim init script should redirect to syslog -- Upgrade php dependencies script diff --git a/scripts/upgrade b/scripts/upgrade index bf6e91e..ef5e8d2 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -21,8 +21,7 @@ else fi # 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 install" movim +sudo su -c "cd $final_path && php composer.phar update" movim # Movim configuration sudo sed -i "s@/ws/@$path/ws/@g" $final_path/app/assets/js/movim_websocket.js