From ca1b3927e35d8594439b281cb8a1ca32afd04562 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 30 Jan 2021 19:41:01 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 1a9b876..bbda9ca 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -87,7 +87,7 @@ ynh_add_fpm_config --package="$extra_php_dependencies" ynh_script_progression --message="Upgrading Composer..." --weight=1 # 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" #================================================= # MODIFY A CONFIG FILE @@ -110,7 +110,7 @@ ynh_script_progression --message="Upgrading source files..." --weight=10 pushd $final_path # install the PHP dependencies using Composer - #ynh_composer_exec phpversion="$phpversion" workdir="$final_path" --commands="install --no-dev" + ynh_composer_exec phpversion="$phpversion" workdir="$final_path" --commands="install --no-dev" php$phpversion artisan migrate --no-interaction #php$phpversion artisan cache:clear --no-interaction #php$phpversion artisan view:clear --no-interaction