1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/overleaf_ynh.git synced 2024-09-03 19:56:27 +02:00
This commit is contained in:
Thomas 2024-04-27 12:31:25 +02:00 committed by GitHub
parent b6b5fdbca5
commit 1d8d0858ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,7 +14,7 @@ nodejs_version=18.20.1
# EXPERIMENTAL HELPERS
#=================================================
readonly YNH_DEFAULT_MONGO_VERSION=5.0
readonly YNH_DEFAULT_MONGO_VERSION=7.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}
@ -349,7 +349,7 @@ ynh_install_mongo() {
ynh_install_extra_app_dependencies \
--repo="deb [ signed-by=/usr/share/keyrings/mongodb-server-$mongo_version.gpg ] https://repo.mongodb.org/apt/ubuntu $ubuntu_version/mongodb-org/$mongo_version multiverse" \
--repo="deb https://repo.mongodb.org/apt/ubuntu $ubuntu_version/mongodb-org/$mongo_version multiverse" \
--package="mongodb-org mongodb-org-server mongodb-org-tools mongodb-mongosh" \
--key="https://www.mongodb.org/static/pgp/server-$mongo_version.asc"
mongodb_servicename=mongod