From d891b6a6047b078edadbabb09937b0a5a6409ed9 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Tue, 30 Apr 2024 10:58:28 +0200 Subject: [PATCH] Update _common.sh --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 7a9a98c..b8ccec5 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -337,7 +337,7 @@ ynh_install_mongo() { if [[ "$mongo_version" == "4.4" && "$mongo_debian_release" != "buster" ]]; then ynh_print_warn --message="Switched to Buster install as Mongo 4.4 is not compatible with $mongo_debian_release." mongo_debian_release=buster - elif [[ "$mongo_version" == "5.0" || "$mongo_version" == "6.0" && "$mongo_debian_release" != "bullseye" ]]; then + elif [[ "$mongo_version" == "5.0" || "$mongo_version" == "6.0"]] && [["$mongo_debian_release" != "bullseye" ]]; then ynh_print_warn --message="Switched to Bullseye install as this version of Mongo is not compatible with $mongo_debian_release." mongo_debian_release=bullseye fi