1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rocketchat_ynh.git synced 2024-09-03 20:16:25 +02:00

Merge branch 'master' into testing

This commit is contained in:
ericgaspar 2021-09-20 23:43:45 +02:00
commit 2d53d49a49
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -324,12 +324,11 @@ ynh_mongo_remove_db() {
#
#
ynh_install_mongo() {
ynh_print_info --message="Installing MongoDB..."
ynh_script_progression --message="Installing MongoDB..." --weight=5
# Define Mongo Service Name
if $(dpkg --compare-versions $(cat /etc/debian_version) gt "10.0")
then
ynh_print_info --message="Installing MongoDB Community Edition..."
ynh_install_extra_app_dependencies --repo="$MONGO_CE_REPO" --package="$MONGO_CE_DEPENDENCIES" --key="$MONGO_CE_KEY"
MONGODB_SERVICENAME=$MONGO_CE_SERVICENAME
else