1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/overleaf_ynh.git synced 2024-09-03 19:56:27 +02:00
This commit is contained in:
Thomas 2024-03-14 21:08:33 +01:00 committed by GitHub
parent 5dbdd1ea48
commit 0be759da06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -329,9 +329,9 @@ ynh_install_mongo() {
ynh_print_info --message="Installing MongoDB Community Edition ..." ynh_print_info --message="Installing MongoDB Community Edition ..."
local mongo_debian_release=$(ynh_get_debian_release) local mongo_debian_release=$(ynh_get_debian_release)
if [ "$mongo_debian_release" -eq bullseye ] ; then if [ "$mongo_debian_release" == bullseye ] ; then
ubuntu_version="focal" ubuntu_version="focal"
elif [ "$mongo_debian_release" -eq bookworm ] ; then elif [ "$mongo_debian_release" == bookworm ] ; then
ubuntu_version="jammy" ubuntu_version="jammy"
fi fi