mirror of
https://github.com/YunoHost-Apps/overleaf_ynh.git
synced 2024-09-03 19:56:27 +02:00
Update _common.sh
This commit is contained in:
parent
e378b1342a
commit
10ae5c5944
1 changed files with 1 additions and 3 deletions
|
@ -337,9 +337,7 @@ ynh_install_mongo() {
|
||||||
if [[ "$mongo_version" == "4.4" && "$mongo_debian_release" != "buster" ]]; then
|
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."
|
ynh_print_warn --message="Switched to Buster install as Mongo 4.4 is not compatible with $mongo_debian_release."
|
||||||
mongo_debian_release=buster
|
mongo_debian_release=buster
|
||||||
fi
|
elif [[ "$mongo_version" >= "5.0" && "$mongo_version" <= "6.0" && "$mongo_debian_release" != "bullseye" ]]; then
|
||||||
|
|
||||||
if [[ "$mongo_version" >= "5.0" && "$mongo_version" <= "6.0" && "$mongo_debian_release" != "bullseye" ]]; then
|
|
||||||
ynh_print_warn --message="Switched to Bullseye install as this version of Mongo is not compatible with $mongo_debian_release."
|
ynh_print_warn --message="Switched to Bullseye install as this version of Mongo is not compatible with $mongo_debian_release."
|
||||||
mongo_debian_release=bullseye
|
mongo_debian_release=bullseye
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue