From 23f1c2202b6622b1d572f5118fe9fa8e9fbd2025 Mon Sep 17 00:00:00 2001 From: Limezy Date: Sat, 13 Nov 2021 14:39:57 +0700 Subject: [PATCH] Update restore --- scripts/restore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/restore b/scripts/restore index c30c455..5b4a116 100755 --- a/scripts/restore +++ b/scripts/restore @@ -93,6 +93,8 @@ chown -R $app:www-data "$final_path" #================================================= # UPDATING A CONFIGURATION #================================================= + +ynh_secure_remove --file="$final_path/.env" ynh_script_progression --message="Updating the configuration file..." --time --weight=1 ynh_add_config --template="../conf/.env" --destination="$final_path/.env"