mirror of
https://github.com/YunoHost-Apps/bookstack_ynh.git
synced 2024-09-03 18:16:02 +02:00
Update upgrade
This commit is contained in:
parent
4c27952a09
commit
ca1b3927e3
1 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ ynh_add_fpm_config --package="$extra_php_dependencies"
|
||||||
ynh_script_progression --message="Upgrading Composer..." --weight=1
|
ynh_script_progression --message="Upgrading Composer..." --weight=1
|
||||||
|
|
||||||
# Upgrade composer itself
|
# Upgrade composer itself
|
||||||
ynh_install_composer --phpversion=${phpversion} --workdir=$final_path --install_args="--prefer-source --no-dev"
|
ynh_install_composer #--phpversion=${phpversion} --workdir=$final_path --install_args="--prefer-source --no-dev"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# MODIFY A CONFIG FILE
|
# MODIFY A CONFIG FILE
|
||||||
|
@ -110,7 +110,7 @@ ynh_script_progression --message="Upgrading source files..." --weight=10
|
||||||
|
|
||||||
pushd $final_path
|
pushd $final_path
|
||||||
# install the PHP dependencies using Composer
|
# install the PHP dependencies using Composer
|
||||||
#ynh_composer_exec phpversion="$phpversion" workdir="$final_path" --commands="install --no-dev"
|
ynh_composer_exec phpversion="$phpversion" workdir="$final_path" --commands="install --no-dev"
|
||||||
php$phpversion artisan migrate --no-interaction
|
php$phpversion artisan migrate --no-interaction
|
||||||
#php$phpversion artisan cache:clear --no-interaction
|
#php$phpversion artisan cache:clear --no-interaction
|
||||||
#php$phpversion artisan view:clear --no-interaction
|
#php$phpversion artisan view:clear --no-interaction
|
||||||
|
|
Loading…
Add table
Reference in a new issue