mirror of
https://github.com/YunoHost-Apps/overleaf_ynh.git
synced 2024-09-03 19:56:27 +02:00
Update mongodb helper to bullseye
This commit is contained in:
parent
9f0461da7d
commit
a46b077860
1 changed files with 3 additions and 3 deletions
|
@ -333,9 +333,9 @@ ynh_install_mongo() {
|
|||
ynh_print_warn --message="Installing Mongo 4.4 as $mongo_version is not compatible with your cpu (see https://docs.mongodb.com/manual/administration/production-notes/#x86_64)."
|
||||
mongo_version="4.4"
|
||||
fi
|
||||
if [[ "$mongo_version" == "4.4" && "$mongo_debian_release" != "buster" ]]; then
|
||||
ynh_print_warn --message="Switched to buster install as Mongo 4.4 is not compatible with $mongo_debian_release."
|
||||
mongo_debian_release=buster
|
||||
if [[ "$mongo_version" == "4.4" && "$mongo_debian_release" != "bullseye" ]]; then
|
||||
ynh_print_warn --message="Switched to bullseye install as Mongo 4.4 is not compatible with $mongo_debian_release."
|
||||
mongo_debian_release=bullseye
|
||||
fi
|
||||
|
||||
ynh_install_extra_app_dependencies --repo="deb http://repo.mongodb.org/apt/debian $mongo_debian_release/mongodb-org/$mongo_version main" --package="mongodb-org mongodb-org-server mongodb-org-tools mongodb-mongosh" --key="https://www.mongodb.org/static/pgp/server-$mongo_version.asc"
|
||||
|
|
Loading…
Reference in a new issue