mirror of
https://github.com/YunoHost-Apps/dont-code_ynh.git
synced 2024-09-03 18:26:34 +02:00
Trying Mongodb 4.4 for CI & Java certificates
Trying Mongodb 4.4 for CI & Java certificates
This commit is contained in:
commit
871b5ccfaa
4 changed files with 5 additions and 3 deletions
|
@ -6,6 +6,7 @@ It shall NOT be edited by hand.
|
|||
# Dont-code Services for YunoHost
|
||||
|
||||
[![Integration level](https://dash.yunohost.org/integration/dont-code.svg)](https://dash.yunohost.org/appci/app/dont-code) ![Working status](https://ci-apps.yunohost.org/ci/badges/dont-code.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/dont-code.maintain.svg)
|
||||
|
||||
[![Install Dont-code Services with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=dont-code)
|
||||
|
||||
*[Lire ce readme en français.](./README_fr.md)*
|
||||
|
|
|
@ -6,6 +6,7 @@ It shall NOT be edited by hand.
|
|||
# Dont-code Services pour YunoHost
|
||||
|
||||
[![Niveau d’intégration](https://dash.yunohost.org/integration/dont-code.svg)](https://dash.yunohost.org/appci/app/dont-code) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/dont-code.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/dont-code.maintain.svg)
|
||||
|
||||
[![Installer Dont-code Services avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=dont-code)
|
||||
|
||||
*[Read this readme in english.](./README.md)*
|
||||
|
|
|
@ -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