From 180b5e21dceed664200fadf8981853c37698c4aa Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Mon, 11 Mar 2024 15:40:36 +0100 Subject: [PATCH] [autopatch] TEST BEFORE MERGE ynh_setup_source --full_replace=1 --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index a0853c8..296415e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -137,7 +137,7 @@ then # Remove destination directory ynh_secure_remove --file=$final_path # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$final_path" + ynh_setup_source --dest_dir="$final_path" --full_replace=1 # Restore previous files if [ -d $tmpdir/uploads ] ; then cp -Rp $tmpdir/uploads $final_path/public @@ -168,7 +168,7 @@ then cp -Rp "$final_path/plugins/discourse-ldap-auth/config/settings.yml" $tmpdir ynh_secure_remove --file="$final_path/plugins/discourse-ldap-auth" mkdir -p "$final_path/plugins/discourse-ldap-auth" - ynh_setup_source --dest_dir="$final_path/plugins/discourse-ldap-auth" --source_id=ldap-auth + ynh_setup_source --dest_dir="$final_path/plugins/discourse-ldap-auth" --source_id=ldap-auth --full_replace=1 cp -p $tmpdir/settings.yml $final_path/plugins/discourse-ldap-auth/config ynh_secure_remove --file="$tmpdir" fi