Update install/wazuh-install.sh
Co-authored-by: Bas van den Berg <74251551+bvdberg01@users.noreply.github.com>
This commit is contained in:
parent
cd6c49fb04
commit
5fb46f7182
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user