From ff90496a9fec36d52773d7c221ede5768311f5c4 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 11 Dec 2020 12:45:42 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 54d839d..f4630eb 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -22,6 +22,7 @@ path_url=$(ynh_app_setting_get --app=$app --key=path) is_public=$(ynh_app_setting_get --app=$app --key=is_public) final_path=$(ynh_app_setting_get --app=$app --key=final_path) db_name=$(ynh_app_setting_get --app=$app --key=db_name) +phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) #================================================= # CHECK VERSION @@ -93,7 +94,7 @@ then ynh_install_composer --phpversion="$phpversion" --workdir="$final_path" - #Copy the admin saved settings from tmp directory to final path + # Copy the admin saved settings from tmp directory to final path cp -a "$tmpdir" "$final_path/config" # Remove the tmp directory securely