mirror of
https://github.com/YunoHost-Apps/dont-code_ynh.git
synced 2024-09-03 18:26:34 +02:00
Back to mongodb-org otherwise no mongo shell
This commit is contained in:
parent
cdd76db2ec
commit
4f763eef59
1 changed files with 6 additions and 0 deletions
|
@ -322,6 +322,12 @@ ynh_install_mongo() {
|
||||||
mongo_version="4.4"
|
mongo_version="4.4"
|
||||||
fi
|
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_packages="mongodb-org-server mongodb-database-tools mongodb-mongosh-shared-openssl11"
|
||||||
|
fi
|
||||||
|
|
||||||
ynh_install_extra_app_dependencies --repo="deb http://repo.mongodb.org/apt/debian $mongo_debian_release/mongodb-org/$mongo_version main" --package="$mongo_packages" --key="https://www.mongodb.org/static/pgp/server-$mongo_version.asc"
|
ynh_install_extra_app_dependencies --repo="deb http://repo.mongodb.org/apt/debian $mongo_debian_release/mongodb-org/$mongo_version main" --package="$mongo_packages" --key="https://www.mongodb.org/static/pgp/server-$mongo_version.asc"
|
||||||
mongodb_servicename=mongod
|
mongodb_servicename=mongod
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue