From 2ea9de4cb2537f21faf4464f8540aac1c9992759 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Mon, 11 Mar 2024 16:05:52 +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 53b715b..b1b6721 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -21,7 +21,7 @@ if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Upgrading source files..." --weight=1 - ynh_setup_source --dest_dir="$install_dir" --keep="config/.env" + ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="config/.env" fi chmod -R o-rwx "$install_dir" From 8481c8f14067e3cbaebe231c65261dc5d34b37ba Mon Sep 17 00:00:00 2001 From: CodeShakingSheep <19874562+CodeShakingSheep@users.noreply.github.com> Date: Fri, 17 May 2024 16:31:37 -0500 Subject: [PATCH 2/2] Update upgrade Keep userfiles --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index b1b6721..7160fee 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -21,7 +21,7 @@ if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Upgrading source files..." --weight=1 - ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="config/.env" + ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="config/.env userfiles public/userfiles" fi chmod -R o-rwx "$install_dir"