diff --git a/install/unifi-install.sh b/install/unifi-install.sh index 6c37a6a6d..5bf36a760 100644 --- a/install/unifi-install.sh +++ b/install/unifi-install.sh @@ -28,7 +28,7 @@ $STD apt-get update $STD apt-get install -y temurin-17-jre msg_ok "Installed Eclipse Temurin JRE" -if grep -q 'avx' /proc/cpuinfo; then +if ! grep -q -m1 'avx[^ ]*' /proc/cpuinfo; then msg_ok "No AVX Support Detected" msg_info "Installing MongoDB 4.2" if ! dpkg -l | grep -q "libssl1.1"; then