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

Update upgrade

This commit is contained in:
ericgaspar 2021-02-21 18:13:48 +01:00
parent 3e670e0fd4
commit 1712fbd2ad
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -154,13 +154,12 @@ yunohost service add $app --description="Responsive web-based XMPP client" --log
#================================================= #=================================================
ynh_script_progression --message="Installing Composer..." --weight=1 ynh_script_progression --message="Installing Composer..." --weight=1
curl -sS https://getcomposer.org/installer \ pushd "$final_path"
| COMPOSER_HOME="$final_path/.composer" \ ynh_exec_warn_less curl -sS https://getcomposer.org/installer | php$phpversion -- --version="1.10.16" --install-dir="$final_path" \
php${phpversion} -- --quiet --install-dir="$final_path" --version=2.0.9 && php$phpversion composer.phar config --global discard-changes true --quiet \
&& php$phpversion composer.phar install --no-interaction --quiet \
COMPOSER_HOME="$final_path/.composer" \ && php$phpversion composer.phar movim:migrate --quiet
php${phpversion} "$final_path/composer.phar" install --no-dev $install_args \ popd
-d "$final_path" --quiet --no-interaction
#================================================= #=================================================
# Set-up database # Set-up database