From e4dd334d9df61b7888583f652d31ab8772cdefd2 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Mon, 11 Mar 2024 16:06:18 +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 bb135c3..fb28b5b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -63,9 +63,9 @@ cp -ar "$install_dir/plugins" "$tmpdir/plugins" ynh_secure_remove --file="$install_dir" if [ "$version" = "Enterprise" ]; then - ynh_setup_source --dest_dir="$install_dir" --source_id="enterprise" + ynh_setup_source --dest_dir="$install_dir" --source_id="enterprise" --full_replace=1 elif [ "$version" = "Team" ]; then - ynh_setup_source --dest_dir="$install_dir" --source_id="main" + ynh_setup_source --dest_dir="$install_dir" --source_id="main" --full_replace=1 fi # Copy the admin saved settings and plugins from tmp directory to final path