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