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

Update upgrade

This commit is contained in:
ericgaspar 2021-04-05 12:28:33 +02:00
parent 30d4abd42f
commit 5d1632b381
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -144,8 +144,7 @@ ynh_add_fpm_config --usage=low --footprint=low --package="$extra_php_dependencie
#=================================================
ynh_script_progression --message="Installing Composer..." --weight=1
ynh_secure_remove --file="$final_path/composer.lock"
#ynh_secure_remove --file="$final_path/composer.lock"
# Upgrade composer itself
ynh_install_composer --phpversion=$phpversion --workdir=$final_path --install_args="--prefer-source --no-dev"
@ -169,6 +168,7 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Upgrading Lychee source files..." --weight=4
pushd $final_path
composer install --no-dev
php$phpversion artisan key:generate --no-interaction --force
php$phpversion artisan migrate --no-interaction --force
popd