Update install/wazuh-install.sh

Co-authored-by: Bas van den Berg <74251551+bvdberg01@users.noreply.github.com>
This commit is contained in:
CanbiZ 2025-03-17 09:38:22 +01:00 committed by GitHub
parent cd6c49fb04
commit 5fb46f7182
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,7 +22,7 @@ msg_ok "Installed Dependencies"
# Fetching the latest Wazuh version
msg_info "Fetching Latest Wazuh Version"
RELEASE=$(curl -s https://api.github.com/repos/wazuh/wazuh/releases/latest | grep '"tag_name"' | awk -F '"' '{print substr($4, 2)}')
RELEASE=$(curl -s https://api.github.com/repos/wazuh/wazuh/releases/latest | grep '"tag_name"' | awk -F '"' '{print substr($4, 2, length($2)-4)}')
msg_ok "Latest Wazuh Version: $RELEASE"
msg_info "Setup Wazuh"