From d103562362b440f5a6be4756316a91ef87b06c26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B1=E5=8D=9A=E4=BA=9E?= Date: Mon, 1 Jan 2024 10:30:38 +0800 Subject: [PATCH] Fix install_orbit_environment.sh --- install_orbit_environment.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_orbit_environment.sh b/install_orbit_environment.sh index 4be33c0..c4558ba 100644 --- a/install_orbit_environment.sh +++ b/install_orbit_environment.sh @@ -302,7 +302,7 @@ fi if [[ "$ubuntu_version" =~ '14' ]]; then install_mongodb "3.2" else - if [ -z "$(lscpu |grep 'avx')" ]; then #Latest version not use avx instruction is 4.4. + if [ -z "$(lscpu |grep -w 'avx')" ]; then #Latest version not use avx instruction is 4.4. install_mongodb "4.4" else install_mongodb "6.0"