From e6da6580d2a3f99461b289e073ca16e3fb903930 Mon Sep 17 00:00:00 2001 From: Antonio Date: Mon, 27 Nov 2023 15:47:34 +0100 Subject: [PATCH] fix(#2654): duplicated script delete --- stack/indexer/rpm/wazuh-indexer.spec | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/stack/indexer/rpm/wazuh-indexer.spec b/stack/indexer/rpm/wazuh-indexer.spec index fd4c14afb8..ece2ce5096 100755 --- a/stack/indexer/rpm/wazuh-indexer.spec +++ b/stack/indexer/rpm/wazuh-indexer.spec @@ -181,18 +181,6 @@ if [ ${1} = 2 ]; then fi fi -# If is an upgrade, move the securityconfig files if they exist (4.3.x versions) -if [ ${1} = 2 ]; then - if [ -d "%{INSTALL_DIR}"/plugins/opensearch-security/securityconfig ]; then - - if [ ! -d "%{CONFIG_DIR}"/opensearch-security ]; then - mkdir "%{CONFIG_DIR}"/opensearch-security - fi - - cp -r "%{INSTALL_DIR}"/plugins/opensearch-security/securityconfig/* "%{CONFIG_DIR}"/opensearch-security - fi -fi - # ----------------------------------------------------------------------------- %preun