From 522f28df6be3a7d25869a24bbe0dd5881157e5d1 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Mon, 11 Mar 2024 16:04:16 +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 f845b4f..39e01f3 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -77,7 +77,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.json" + ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="config.json" fi chmod -R o-rwx "$install_dir" From ddd27190c9236e9f3f3a01999dec581cd5378782 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Mon, 11 Mar 2024 20:34:33 +0100 Subject: [PATCH 2/2] Remove cleanup bundle as it's managed by setup source --- scripts/upgrade | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 39e01f3..34e4e13 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -71,9 +71,6 @@ fi if [ "$upgrade_type" == "UPGRADE_APP" ] then - # purge the "bundles" folder to avoid pointlessly taking up space at each update - ynh_secure_remove --file="$install_dir/bundles/" - ynh_script_progression --message="Upgrading source files..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src