diff --git a/scripts/ynh_install_java b/scripts/ynh_install_java index 42002d4..2e16f24 100644 --- a/scripts/ynh_install_java +++ b/scripts/ynh_install_java @@ -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 diff --git a/scripts/ynh_mongo_db__2 b/scripts/ynh_mongo_db__2 index e1c17a6..bc03a33 100644 --- a/scripts/ynh_mongo_db__2 +++ b/scripts/ynh_mongo_db__2 @@ -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"