1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gotify_ynh.git synced 2024-09-03 20:36:26 +02:00

Update upgrade

This commit is contained in:
Éric Gaspar 2023-11-23 18:59:44 +01:00
parent eff2c6fabe
commit be92c72a78

View file

@ -44,12 +44,12 @@ chown -R $app:www-data "$install_dir"
#================================================= #=================================================
# UPDATE A CONFIG FILE # UPDATE A CONFIG FILE
#================================================= #=================================================
ynh_script_progression --message="Updating a configuration file..." --weight=1 #ynh_script_progression --message="Updating a configuration file..." --weight=1
ynh_add_config --template="config.yml" --destination="$install_dir/config.yml" #ynh_add_config --template="config.yml" --destination="$install_dir/config.yml"
chmod 400 "$install_dir/config.yml" #chmod 400 "$install_dir/config.yml"
chown $app:$app "$install_dir/config.yml" #chown $app:$app "$install_dir/config.yml"
#================================================= #=================================================
# REAPPLY SYSTEM CONFIGURATIONS # REAPPLY SYSTEM CONFIGURATIONS