mirror of
https://github.com/YunoHost-Apps/couchdb_ynh.git
synced 2024-09-03 18:16:11 +02:00
fix
This commit is contained in:
parent
59b941e377
commit
8455510054
2 changed files with 10 additions and 12 deletions
|
@ -19,7 +19,7 @@ code = "https://github.com/apache/couchdb"
|
|||
cpe = "cpe:2.3:a:apache:couchdb"
|
||||
|
||||
[integration]
|
||||
yunohost = ">= 11.1"
|
||||
yunohost = ">= 11.2"
|
||||
architectures = "all"
|
||||
multi_instance = false
|
||||
|
||||
|
@ -63,8 +63,11 @@ ram.runtime = "60M"
|
|||
[resources.apt]
|
||||
packages = ["gnupg", "ca-certificates"]
|
||||
|
||||
# Find a way to do that here
|
||||
# [resources.apt.extras.couchdb]
|
||||
# repo = "deb https://apache.jfrog.io/artifactory/couchdb-deb/ $(lsb_release -c -s) main"
|
||||
# key = "https://couchdb.apache.org/repo/keys.asc"
|
||||
# packages = ["couchdb"]
|
||||
[resources.apt]
|
||||
packages = "deb1, deb2, php8.0-foo, php8.0-bar"
|
||||
|
||||
[resources.apt]
|
||||
packages = ""
|
||||
extras.couchdb.repo = "deb https://apache.jfrog.io/artifactory/couchdb-deb/ bullseye main"
|
||||
extras.couchdb.key = "https://couchdb.apache.org/repo/keys.asc"
|
||||
extras.couchdb.packages = ["couchdb"]
|
||||
|
|
|
@ -36,18 +36,13 @@ couchdb couchdb/adminpass_again password $password
|
|||
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"
|
||||
|
||||
#=================================================
|
||||
# ADD A CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Adding a configuration file..." --weight=2
|
||||
|
||||
# Customize a bit the couch config
|
||||
ynh_add_config --template="../conf/couch_ynh.ini" --destination="$install_dir/etc/local.d/couch_ynh.ini"
|
||||
ynh_add_config --template="couch_ynh.ini" --destination="$install_dir/etc/local.d/couch_ynh.ini"
|
||||
|
||||
chmod 750 "$install_dir"
|
||||
chmod -R o-rwx "$install_dir"
|
||||
|
|
Loading…
Add table
Reference in a new issue