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
|
||||
|
||||
curl -sS https://getcomposer.org/installer \
|
||||
| COMPOSER_HOME="$final_path/.composer" \
|
||||
php${phpversion} -- --quiet --install-dir="$final_path" --version=2.0.9
|
||||
|
||||
COMPOSER_HOME="$final_path/.composer" \
|
||||
php${phpversion} "$final_path/composer.phar" install --no-dev $install_args \
|
||||
-d "$final_path" --quiet --no-interaction
|
||||
pushd "$final_path"
|
||||
ynh_exec_warn_less curl -sS https://getcomposer.org/installer | php$phpversion -- --version="1.10.16" --install-dir="$final_path" \
|
||||
&& php$phpversion composer.phar config --global discard-changes true --quiet \
|
||||
&& php$phpversion composer.phar install --no-interaction --quiet \
|
||||
&& php$phpversion composer.phar movim:migrate --quiet
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
# Set-up database
|
||||
|
|
Loading…
Add table
Reference in a new issue