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
1d8d0858ca
commit
7d976a29f1
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,7 @@ nodejs_version=18.20.1
|
||||||
# EXPERIMENTAL HELPERS
|
# EXPERIMENTAL HELPERS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
readonly YNH_DEFAULT_MONGO_VERSION=7.0
|
readonly YNH_DEFAULT_MONGO_VERSION=5.0
|
||||||
# Declare the actual MongoDB version to use: 4.4 ; 5.0 ; 6.0
|
# Declare the actual MongoDB version to use: 4.4 ; 5.0 ; 6.0
|
||||||
# A packager willing to use another version of MongoDB can override the variable into its _common.sh.
|
# A packager willing to use another version of MongoDB can override the variable into its _common.sh.
|
||||||
YNH_MONGO_VERSION=${YNH_MONGO_VERSION:-$YNH_DEFAULT_MONGO_VERSION}
|
YNH_MONGO_VERSION=${YNH_MONGO_VERSION:-$YNH_DEFAULT_MONGO_VERSION}
|
||||||
|
@ -347,6 +347,7 @@ ynh_install_mongo() {
|
||||||
ubuntu_version="jammy"
|
ubuntu_version="jammy"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-$mongo_version.gpg ] https://repo.mongodb.org/apt/ubuntu $ubuntu_version/mongodb-org/$mongo_version multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-$mongo_version.list
|
||||||
|
|
||||||
ynh_install_extra_app_dependencies \
|
ynh_install_extra_app_dependencies \
|
||||||
--repo="deb https://repo.mongodb.org/apt/ubuntu $ubuntu_version/mongodb-org/$mongo_version multiverse" \
|
--repo="deb https://repo.mongodb.org/apt/ubuntu $ubuntu_version/mongodb-org/$mongo_version multiverse" \
|
||||||
|
|
Loading…
Add table
Reference in a new issue