mirror of
https://github.com/YunoHost-Apps/overleaf_ynh.git
synced 2024-09-03 19:56:27 +02:00
new mongo test
This commit is contained in:
parent
acbb0908ae
commit
e378b1342a
1 changed files with 7 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
# COMMON VARIABLES
|
# COMMON VARIABLES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
nodejs_version=18.20.1
|
nodejs_version=18.20.2
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# PERSONAL HELPERS
|
# PERSONAL HELPERS
|
||||||
|
@ -339,6 +339,12 @@ ynh_install_mongo() {
|
||||||
mongo_debian_release=buster
|
mongo_debian_release=buster
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
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."
|
||||||
|
mongo_debian_release=bullseye
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
if [ "$mongo_debian_release" == buster ] ; then
|
if [ "$mongo_debian_release" == buster ] ; then
|
||||||
ubuntu_version="bionic"
|
ubuntu_version="bionic"
|
||||||
elif [ "$mongo_debian_release" == bullseye ] ; then
|
elif [ "$mongo_debian_release" == bullseye ] ; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue