1
0
Fork 0
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:
Thomas 2024-04-27 12:54:55 +02:00 committed by GitHub
parent 7d976a29f1
commit 3fe97f8dd0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -349,10 +349,10 @@ ynh_install_mongo() {
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 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" \
--package="mongodb-org mongodb-org-server mongodb-org-tools mongodb-mongosh" \ # --package="mongodb-org mongodb-org-server mongodb-org-tools mongodb-mongosh" \
--key="https://www.mongodb.org/static/pgp/server-$mongo_version.asc" #--key="https://www.mongodb.org/static/pgp/server-$mongo_version.asc"
mongodb_servicename=mongod mongodb_servicename=mongod
# Make sure MongoDB is started and enabled # Make sure MongoDB is started and enabled