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

4.4 and Buster Update ynh_mongo_db__2

Default version 4.4 and repo buster
This commit is contained in:
pp-r 2024-06-16 22:38:02 +02:00 committed by GitHub
parent d41d132072
commit cfec5879e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,6 @@
#!/bin/bash
readonly YNH_DEFAULT_MONGO_VERSION=7.0
readonly YNH_DEFAULT_MONGO_VERSION=4.4
# 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=bullseye
mongo_debian_release=buster
mongo_packages="mongodb-org-server mongodb-database-tools mongodb-mongosh-shared-openssl11"
fi