From c81f1fda4f7f6399370340c7d410f4b7ae6fe515 Mon Sep 17 00:00:00 2001 From: Salamandar <6552989+Salamandar@users.noreply.github.com> Date: Mon, 11 Mar 2024 18:55:38 +0100 Subject: [PATCH] [autopatch] ynh_setup_source --full_replace=1 (#42) Co-authored-by: OniriCorpe Co-authored-by: Yunohost-Bot <> --- scripts/restore | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index b139591..423f1ae 100755 --- a/scripts/restore +++ b/scripts/restore @@ -31,7 +31,7 @@ then ynh_script_progression --message="Migrating binary architecture..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$install_dir" --keep="config/appsettings.json" + ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="config" fi chmod -R o-rwx "$install_dir" diff --git a/scripts/upgrade b/scripts/upgrade index 94b9df5..6500482 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="config/appsettings.json" + ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="config" fi chmod -R o-rwx "$install_dir"