From 0be759da063243cdaf49db8ec7d29fe1271ededa Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Thu, 14 Mar 2024 21:08:33 +0100 Subject: [PATCH] fix --- scripts/_common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index dc4f417..f777e3f 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -329,9 +329,9 @@ ynh_install_mongo() { ynh_print_info --message="Installing MongoDB Community Edition ..." local mongo_debian_release=$(ynh_get_debian_release) - if [ "$mongo_debian_release" -eq bullseye ] ; then + if [ "$mongo_debian_release" == bullseye ] ; then ubuntu_version="focal" - elif [ "$mongo_debian_release" -eq bookworm ] ; then + elif [ "$mongo_debian_release" == bookworm ] ; then ubuntu_version="jammy" fi