Update omada-install.sh

This commit is contained in:
CanbiZ 2025-02-25 08:44:53 +01:00 committed by GitHub
parent 87c17fc16d
commit 02fb3ab9b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,11 +21,12 @@ msg_info "Checking CPU Features"
if lscpu | grep -q 'avx'; then
USE_AVX=true
MONGODB_VERSION="7.0"
msg_ok "AVX detected: Using MongoDB 8.0"
msg_ok "AVX detected: Using MongoDB 7.0"
else
USE_AVX=false
MONGODB_VERSION="4.4"
msg_ok "No AVX detected: Using MongoDB 4.4"
msg_error "No AVX detected: TP-Link Canceled Support for Old MongoDB for Debian 12\n https://www.tp-link.com/baltic/support/faq/4160/"
exit 1
fi
msg_info "Installing Azul Zulu Java"