diff --git a/helpers/mongodb b/helpers/mongodb index f441c7e16..d40d11bfe 100644 --- a/helpers/mongodb +++ b/helpers/mongodb @@ -314,7 +314,7 @@ ynh_install_mongo() { ynh_print_warn --message="Installing Mongo 4.4 as $mongo_version is not compatible with your cpu (see https://docs.mongodb.com/manual/administration/production-notes/#x86_64)." mongo_version="4.4" fi - if [[ "$mongo_version" == "4.4" && "$mongo_debian_release" != "buster" ]]; then + if [[ "$mongo_version" == "4.4" ]]; then ynh_print_warn --message="Switched to buster install as Mongo 4.4 is not compatible with $mongo_debian_release." mongo_debian_release=buster fi