From 88494203407d89398bfb640e58d9b53c4e655337 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Tue, 30 Apr 2024 12:21:03 +0200 Subject: [PATCH] test --- scripts/_common.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index b8ccec5..0bbcda7 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -337,11 +337,13 @@ 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 - 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 - + + if [[ "$mongo_version" == "5.0" || "6.0" ] && "$mongo_debian_release" == bookworm ]; then + ynh_install_extra_app_dependencies \ + --repo="http://ftp.de.debian.org/debian/pool/main/o/openssl \ + --package="libssl1.1_1.1.1w-0+deb11u1_amd64.deb | libssl1.1_1.1.1w-0+deb11u1_arm64.deb" + fi if [ "$mongo_debian_release" == buster ] ; then ubuntu_version="bionic"