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:
parent
3e670e0fd4
commit
1712fbd2ad
1 changed files with 6 additions and 7 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue