1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dont-code_ynh.git synced 2024-09-03 18:26:34 +02:00

Mongodb-org

This commit is contained in:
Gérard Collin 2024-05-25 12:49:15 +02:00
parent 4f763eef59
commit b331c69b5a

View file

@ -314,7 +314,7 @@ ynh_install_mongo() {
ynh_print_info --message="Installing MongoDB Community Edition ..." ynh_print_info --message="Installing MongoDB Community Edition ..."
local mongo_debian_release=$(ynh_get_debian_release) local mongo_debian_release=$(ynh_get_debian_release)
local mongo_packages="mongodb-org-server mongodb-database-tools mongodb-org-shell" local mongo_packages="mongodb-org"
if [[ $(cat /proc/cpuinfo) != *"avx"* && "$mongo_version" != "4.4" ]]; then if [[ $(cat /proc/cpuinfo) != *"avx"* && "$mongo_version" != "4.4" ]]; then
#Sadly mongo 4.4 is the only version not requiring avx instruction set, so we will install it #Sadly mongo 4.4 is the only version not requiring avx instruction set, so we will install it