1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flohmarkt_ynh.git synced 2024-09-03 18:36:30 +02:00

repalce ynh_install_extra_app_dependencies by apt extras.couchdb.repo

This commit is contained in:
Chris Vogel 2024-04-19 13:04:53 +02:00
parent d0439c77ec
commit 1406e05519
2 changed files with 11 additions and 4 deletions

View file

@ -165,6 +165,10 @@ ram.runtime = "100M"
[resources.apt]
# python dependencies shall be installed in a venv using pip.
packages = "python3-pip python3-full curl apt-transport-https gnupg"
# repo for couchdb
extras.couchdb.repo = "deb https://apache.jfrog.io/artifactory/couchdb-deb/ $(lsb_release -c -s) main"
extras.couchdb.key = "https://couchdb.apache.org/repo/keys.asc"
extras.couchdb.packages = ["couchdb"]
[antifeatures]

View file

@ -41,10 +41,13 @@ couchdb couchdb/adminpass_again password $password_couchdb_admin
couchdb couchdb/adminpass_again seen true" | debconf-set-selections
DEBIAN_FRONTEND=noninteractive # apt-get install -y --force-yes couchdb
ynh_install_extra_app_dependencies \
--repo="deb https://apache.jfrog.io/artifactory/couchdb-deb/ $(lsb_release -c -s) main" \
--key="https://couchdb.apache.org/repo/keys.asc" \
--package="couchdb"
# ynh_install_extra_app_dependencies \
# --repo="deb https://apache.jfrog.io/artifactory/couchdb-deb/ $(lsb_release -c -s) main" \
# --key="https://couchdb.apache.org/repo/keys.asc" \
# --package="couchdb"
#
# replaced by:
ynh_package_install couchdb
# add couchdb configuration
ynh_script_progression --message="Adding a configuration file..." --weight=2