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:
parent
244e15fa82
commit
f825ac469a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue