1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/baikal_ynh.git synced 2024-09-03 18:16:11 +02:00

Update upgrade

This commit is contained in:
Éric Gaspar 2024-06-09 22:49:07 +02:00 committed by Félix Piédallu
parent c216e673f3
commit 7f317fb2ff

View file

@ -9,6 +9,8 @@
source _common.sh source _common.sh
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
timezone=$(cat /etc/timezone)
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE # 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. # We keep this to allow upgrade the config file in case it needs to be changed.
timezone=$(cat /etc/timezone)
path=${path%/} path=${path%/}
ynh_add_config --template="baikal.yaml" --destination="$install_dir/config/baikal.yaml" ynh_add_config --template="baikal.yaml" --destination="$install_dir/config/baikal.yaml"
chown $app: "$install_dir/config/baikal.yaml" chown $app: "$install_dir/config/baikal.yaml"