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
d0d767a438
commit
d3031cd14a
1 changed files with 5 additions and 5 deletions
|
@ -114,13 +114,13 @@ ynh_add_fpm_config --package="$extra_php_dependencies"
|
|||
ynh_script_progression --message="Installing Composer..." --weight=10
|
||||
|
||||
# Install Composer
|
||||
ynh_install_composer
|
||||
|
||||
ynh_exec_warn_less ynh_composer_exec --commands=\"dump-autoload\"
|
||||
ynh_install_composer --phpversion="${YNH_PHP_VERSION}" --workdir="$final_path" --install_args="--prefer-source --no-dev"
|
||||
|
||||
( cd $final_path && php$phpversion artisan migrate -n --force )
|
||||
( cd $final_path && php$phpversion artisan config:clear -n )
|
||||
( cd $final_path && php$phpversion artisan config:cache -n )
|
||||
cd $final_path && php$phpversion artisan key:generate -n --force --env
|
||||
cd $final_path && php$phpversion artisan migrate -n --force
|
||||
cd $final_path && php$phpversion artisan config:clear -n
|
||||
cd $final_path && php$phpversion artisan config:cache -n
|
||||
|
||||
ynh_backup_if_checksum_is_different --file="$final_path/.env"
|
||||
# Recalculate and store the checksum of the file for the next upgrade.
|
||||
|
|
Loading…
Reference in a new issue