From ac7d65c9d8385f0023e906a5812b9deabe084f27 Mon Sep 17 00:00:00 2001 From: Tomas Sarquis Date: Tue, 12 Dec 2023 14:09:25 -0300 Subject: [PATCH] Add debug messages --- debs/SPECS/wazuh-manager/debian/postinst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debs/SPECS/wazuh-manager/debian/postinst b/debs/SPECS/wazuh-manager/debian/postinst index 3f6f57f3fa..916dcc5445 100644 --- a/debs/SPECS/wazuh-manager/debian/postinst +++ b/debs/SPECS/wazuh-manager/debian/postinst @@ -319,9 +319,13 @@ case "$1" in } # Update VD configuration if necessary. + echo "A" if is_old_vulndet_config_present "${DIR}/etc/ossec.conf"; then + echo "B" update_vulndet_config "${DIR}/etc/ossec.conf" + echo "C" fi + echo "D" #Delete obsolete files if [ -f /etc/ossec-init.conf ]; then