From 787ce8c31f8b1e7d79a83c309c806aab2a4ae816 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 7 Jan 2024 14:52:01 +0100 Subject: [PATCH] Cleanup install_dir upon upgrade Notably, for removing old NodeJS stuff --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 3f2cbf0..e034e45 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -33,7 +33,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="$install_dir" --keep=".env" + ynh_setup_source --dest_dir="$install_dir" --keep=".env nc" --full_replace fi chmod -R o-rwx "$install_dir"