From aa9a98ca6dcbed5b5aa7d7c46aca98df774b22ce Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 28 Jan 2021 18:32:14 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index db68bf0..dbd6c15 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -159,14 +159,15 @@ ynh_exec_warn_less ynh_composer_exec --commands=\"dump-autoload\" if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Upgrading source files..." --weight=4 - -( 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 ) + pushd $final_path + php artisan migrate -n #--force + #php$phpversion artisan config:clear -n + #php$phpversion artisan config:cache -n + popd fi #================================================= -# BUILDING +# SETUP APPLICATION CONFIG #================================================= ynh_script_progression --message="Building..."