mirror of
https://github.com/YunoHost-Apps/dont-code_ynh.git
synced 2024-09-03 18:26:34 +02:00
Install java certif and test mongo bullseye
This commit is contained in:
parent
99484f0203
commit
89b649ed2e
2 changed files with 3 additions and 3 deletions
|
@ -104,7 +104,7 @@ ynh_install_java() {
|
|||
package_name=${package_name}-${java_engine}
|
||||
fi
|
||||
|
||||
ynh_install_app_dependencies ${package_name}
|
||||
ynh_install_app_dependencies ca-certificates-java ${package_name}
|
||||
|
||||
# Store java_version into the config of this app
|
||||
ynh_app_setting_set --app=$app --key=java_version --value=$java_version
|
||||
|
|
|
@ -320,8 +320,8 @@ ynh_install_mongo() {
|
|||
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
|
||||
ynh_print_warn --message="Keeping $mongo_debian_release install for Mongo 4.4 to see if that works."
|
||||
#mongo_debian_release=buster
|
||||
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