From 7d976a29f112d222cdc9b6bfb81b4be9819b2ce4 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Sat, 27 Apr 2024 12:44:12 +0200 Subject: [PATCH] test --- scripts/_common.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index ed9d50f..a895550 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -14,7 +14,7 @@ nodejs_version=18.20.1 # EXPERIMENTAL HELPERS #================================================= -readonly YNH_DEFAULT_MONGO_VERSION=7.0 +readonly YNH_DEFAULT_MONGO_VERSION=5.0 # Declare the actual MongoDB version to use: 4.4 ; 5.0 ; 6.0 # A packager willing to use another version of MongoDB can override the variable into its _common.sh. YNH_MONGO_VERSION=${YNH_MONGO_VERSION:-$YNH_DEFAULT_MONGO_VERSION} @@ -347,6 +347,7 @@ ynh_install_mongo() { ubuntu_version="jammy" fi + echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-$mongo_version.gpg ] https://repo.mongodb.org/apt/ubuntu $ubuntu_version/mongodb-org/$mongo_version multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-$mongo_version.list ynh_install_extra_app_dependencies \ --repo="deb https://repo.mongodb.org/apt/ubuntu $ubuntu_version/mongodb-org/$mongo_version multiverse" \