1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mongo-express_ynh.git synced 2024-09-03 19:46:04 +02:00

add 7.0 and repo bullseye Update ynh_mongo_db__2

Put $mongo_debian_release at `bullseye`
This commit is contained in:
pp-r 2024-06-16 21:39:43 +02:00 committed by GitHub
parent 244e15fa82
commit f825ac469a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,7 @@
#!/bin/bash
readonly YNH_DEFAULT_MONGO_VERSION=4.4
# Declare the actual MongoDB version to use: 4.4 ; 5.0 ; 6.0
# Declare the actual MongoDB version to use: 4.4 ; 5.0 ; 6.0 ; 7.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}
@ -322,7 +322,7 @@ ynh_install_mongo() {
fi
if [[ "$mongo_version" == "4.4" ]]; then
ynh_print_warn --message="Switching to buster package install for Mongo 4.4."
mongo_debian_release=buster
mongo_debian_release=bullseye
mongo_packages="mongodb-org-server mongodb-database-tools mongodb-mongosh-shared-openssl11"
fi