From 812201ee80dbfc942fdb93bcd4bef3ab8fa0cc08 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 23 Jun 2024 18:24:12 +0200 Subject: [PATCH] Keep data directory upon upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 2652de2..c9da671 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -33,7 +33,7 @@ then ynh_script_progression --message="Upgrading source files..." --weight=3 # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$install_dir" --full_replace=1 + ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="data" fi chmod -R o-rwx "$install_dir"