1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/outline_ynh.git synced 2024-09-03 19:56:12 +02:00

Update restore

This commit is contained in:
Limezy 2021-11-13 14:39:57 +07:00
parent 9b2708b9e7
commit 23f1c2202b

View file

@ -93,6 +93,8 @@ chown -R $app:www-data "$final_path"
#================================================= #=================================================
# UPDATING A CONFIGURATION # UPDATING A CONFIGURATION
#================================================= #=================================================
ynh_secure_remove --file="$final_path/.env"
ynh_script_progression --message="Updating the configuration file..." --time --weight=1 ynh_script_progression --message="Updating the configuration file..." --time --weight=1
ynh_add_config --template="../conf/.env" --destination="$final_path/.env" ynh_add_config --template="../conf/.env" --destination="$final_path/.env"