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:
parent
476ff7f262
commit
40be01f0f0
1 changed files with 2 additions and 2 deletions
|
@ -147,7 +147,8 @@ 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
|
# 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"
|
||||||
|
ynh_install_composer --install_args="--ignore-platform-reqs"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP APPLICATION CONFIG
|
# SETUP APPLICATION CONFIG
|
||||||
|
@ -165,7 +166,6 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||||
then
|
then
|
||||||
ynh_script_progression --message="Upgrading Lychee source files..." --weight=4
|
ynh_script_progression --message="Upgrading Lychee source files..." --weight=4
|
||||||
pushd $final_path
|
pushd $final_path
|
||||||
composer install --no-dev
|
|
||||||
php$phpversion artisan key:generate --no-interaction --force
|
php$phpversion artisan key:generate --no-interaction --force
|
||||||
php$phpversion artisan migrate --no-interaction --force
|
php$phpversion artisan migrate --no-interaction --force
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Add table
Reference in a new issue