From 7f317fb2ff9b76e8ce48e7e1e404e0d0d0affa8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 9 Jun 2024 22:49:07 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 1fd14a7..04160fe 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -9,6 +9,8 @@ source _common.sh source /usr/share/yunohost/helpers +timezone=$(cat /etc/timezone) + #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= @@ -43,7 +45,6 @@ ynh_script_progression --message="Upgrading the configuration file..." --weight= # We keep this to allow upgrade the config file in case it needs to be changed. -timezone=$(cat /etc/timezone) path=${path%/} ynh_add_config --template="baikal.yaml" --destination="$install_dir/config/baikal.yaml" chown $app: "$install_dir/config/baikal.yaml"