Skip to content

Commit e786b09

Browse files
authored
Fix MongoDB install in Unifi script (#564)
1 parent 0afeac4 commit e786b09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/unifi-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ $STD apt-get update
2828
$STD apt-get install -y temurin-17-jre
2929
msg_ok "Installed Eclipse Temurin JRE"
3030

31-
if grep -q 'avx' /proc/cpuinfo; then
31+
if ! grep -q -m1 'avx[^ ]*' /proc/cpuinfo; then
3232
msg_ok "No AVX Support Detected"
3333
msg_info "Installing MongoDB 4.2"
3434
if ! dpkg -l | grep -q "libssl1.1"; then

0 commit comments

Comments
 (0)