From 9606ac52b2246192a0bca0dbc50e0e2d635b1d95 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 20 Aug 2023 08:41:59 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index e9e9f02..b3df4b6 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -162,16 +162,16 @@ ynh_add_nginx_config # We keep this to allow upgrade the config file in case it needs to be changed. -if [ "$upgrade_type" == "UPGRADE_APP" ] -then - ynh_script_progression --message="Upgrading the configuration file..." --weight=2 +#if [ "$upgrade_type" == "UPGRADE_APP" ] +#then +# ynh_script_progression --message="Upgrading the configuration file..." --weight=2 - timezone=$(cat /etc/timezone) - path=${path_url%/} - ynh_add_config --template="../conf/baikal.yaml" --destination="$final_path/config/baikal.yaml" - chown $app: "$final_path/config/baikal.yaml" - chmod 640 "$final_path/config/baikal.yaml" -fi +# timezone=$(cat /etc/timezone) +# path=${path_url%/} +# ynh_add_config --template="../conf/baikal.yaml" --destination="$final_path/config/baikal.yaml" +# chown $app: "$final_path/config/baikal.yaml" +# chmod 640 "$final_path/config/baikal.yaml" +#fi #================================================= # GENERIC FINALIZATION