mirror of
https://github.com/YunoHost-Apps/overleaf_ynh.git
synced 2024-09-03 19:56:27 +02:00
test
This commit is contained in:
parent
d891b6a604
commit
8849420340
1 changed files with 6 additions and 4 deletions
|
@ -337,11 +337,13 @@ 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
|
||||||
elif [[ "$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
|
fi
|
||||||
|
|
||||||
|
if [[ "$mongo_version" == "5.0" || "6.0" ] && "$mongo_debian_release" == bookworm ]; then
|
||||||
|
ynh_install_extra_app_dependencies \
|
||||||
|
--repo="http://ftp.de.debian.org/debian/pool/main/o/openssl \
|
||||||
|
--package="libssl1.1_1.1.1w-0+deb11u1_amd64.deb | libssl1.1_1.1.1w-0+deb11u1_arm64.deb"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$mongo_debian_release" == buster ] ; then
|
if [ "$mongo_debian_release" == buster ] ; then
|
||||||
ubuntu_version="bionic"
|
ubuntu_version="bionic"
|
||||||
|
|
Loading…
Add table
Reference in a new issue