From 68ae8cb00d9c6e4b7c93d159a8b9ac3c8f458031 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Sat, 23 Mar 2024 12:29:27 +0100 Subject: [PATCH] Fix upgrade: full_replace=1 --- scripts/upgrade | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 107fed7..6227e48 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -25,9 +25,9 @@ fi #================================================= ynh_script_progression --message="Upgrading source files..." --weight=3 -ynh_setup_source --dest_dir="$install_dir" -ynh_setup_source --dest_dir="$install_dir/plugins/Ldap_Login" --source_id=ldap_plugin -ynh_setup_source --dest_dir="$install_dir/plugins" --source_id=log_failed_logins_plugin +ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="local/config/config.inc.php local/config/database.inc.php" +ynh_setup_source --dest_dir="$install_dir/plugins/Ldap_Login" --source_id=ldap_plugin --full_replace=1 +ynh_setup_source --dest_dir="$install_dir/plugins" --source_id=log_failed_logins_plugin --full_replace=1 _create_data_dirs_if_required