From 4c127734ee56b8eb3b21c37df69ed8a55bb8274b Mon Sep 17 00:00:00 2001 From: tituspijean Date: Tue, 28 Sep 2021 10:11:09 +0200 Subject: [PATCH] Spare .env from overriding during upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index ba2b52a..3551ab6 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -73,7 +73,7 @@ then ynh_script_progression --message="Upgrading source files..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$final_path" + ynh_setup_source --dest_dir="$final_path" --keep=".env" fi chmod 750 "$final_path"