From d854a3c409f18c89fda87d8df32f0daf13e467f0 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Mon, 11 Mar 2024 16:04:54 +0100 Subject: [PATCH 1/2] [autopatch] TEST BEFORE MERGE ynh_setup_source --full_replace=1 --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 3200a9b..2deec49 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -54,7 +54,7 @@ if [ ~"$app" != "$data_dir" ]; then fi # Ensure secrets are defined -ynh_setup_source --dest_dir="$install_dir" --source_id=main +ynh_setup_source --dest_dir="$install_dir" --source_id=main --full_replace=1 #================================================= # MIGRATION STEP 2 (Set undefined Vars) From 525fd0aacd3d85041148374cc5d29d48e7f04d82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Mon, 11 Mar 2024 19:10:29 +0100 Subject: [PATCH 2/2] Keep config --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 2deec49..5284d7a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -54,7 +54,7 @@ if [ ~"$app" != "$data_dir" ]; then fi # Ensure secrets are defined -ynh_setup_source --dest_dir="$install_dir" --source_id=main --full_replace=1 +ynh_setup_source --dest_dir="$install_dir" --source_id=main --full_replace=1 --keep=custom #================================================= # MIGRATION STEP 2 (Set undefined Vars)