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