From d79a6df80386df98664733b187599e15ae6da3de Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 29 Jan 2021 17:38:47 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 0ed20e1..b20d3af 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -94,7 +94,7 @@ ynh_script_progression --message="Upgrading source files..." --weight=10 pushd $final_path # install the PHP dependencies using Composer - ynh_exec_warn_less ynh_composer_exec --commands="install --no-dev" + ynh_composer_exec phpversion="$phpversion" workdir="$final_path" --commands="install --no-dev" php$phpversion artisan migrate && php$phpversion artisan cache:clear && php$phpversion artisan view:clear popd