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"