Fix install_orbit_environment.sh

This commit is contained in:
邱博亞 2024-01-01 10:30:38 +08:00
parent a1dc79f11f
commit d103562362
1 changed files with 1 additions and 1 deletions

View File

@ -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"