diff --git a/scripts/upgrade b/scripts/upgrade index a9261d0..da3f2d5 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -152,18 +152,20 @@ yunohost service add $app --description="Responsive web-based XMPP client" --log #================================================= # INSTALL PHP DEPENDENCIES USING COMPOSER #================================================= +ynh_script_progression --message="Installing Composer..." --weight=1 -ynh_install_composer --phpversion="$phpversion" --workdir="$final_path" - +#ynh_install_composer --phpversion="$phpversion" --workdir="$final_path" +pushd $final_path +composer update #ynh_composer_exec --phpversion=phpversion --workdir=$final_path --commands="update" - +popd #================================================= # Set-up database #================================================= ynh_script_progression --message="Configuring database.." --weight=1 pushd $final_path - composer update --lock + #composer update #--lock php$phpversion composer.phar movim:migrate --quiet popd