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
8f0a965784
commit
a4b3f8c77b
1 changed files with 6 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue