mirror of
https://github.com/YunoHost-Apps/couchdb_ynh.git
synced 2024-09-03 18:16:11 +02:00
Merge branch 'testing'
This commit is contained in:
commit
375a76c97e
2 changed files with 1 additions and 15 deletions
|
@ -104,16 +104,13 @@ ynh_install_extra_app_dependencies --repo="https://apache.bintray.com/couchdb-de
|
|||
# ynh_install_extra_app_dependencies --repo="https://apache.bintray.com/couchdb-deb buster main" --package="couchdb" --key="https://apache.bintray.com/couchdb-deb/dists/buster/Release.gpg"
|
||||
|
||||
#=================================================
|
||||
# MODIFY A CONFIG FILE, AND STORE IT'S CHECKSUM
|
||||
# ADD SOME CUSTOM CONFIGURATION TO COUCH
|
||||
#=================================================
|
||||
ynh_script_progression --message="Customizing couchdb config..." --weight=2
|
||||
|
||||
# customize a bit the couch config
|
||||
ynh_add_config --template="../conf/couch_ynh.ini" --destination="$final_path/etc/local.d/couch_ynh.ini"
|
||||
|
||||
# Calculate and store the config file checksum into the app settings
|
||||
ynh_store_file_checksum --file="$final_path/etc/local.d/couch_ynh.ini"
|
||||
|
||||
#=================================================
|
||||
# SETUP LOGROTATE
|
||||
#=================================================
|
||||
|
|
|
@ -89,17 +89,6 @@ ynh_script_progression --message="Upgrading dependencies..." --weight=15
|
|||
|
||||
ynh_install_app_dependencies $pkg_dependencies couchdb
|
||||
|
||||
#=================================================
|
||||
# MODIFY A CONFIG FILE
|
||||
#=================================================
|
||||
|
||||
### Verify the checksum of a file, stored by `ynh_store_file_checksum` in the install script.
|
||||
### And create a backup of this file if the checksum is different. So the file will be backed up if the admin had modified it.
|
||||
ynh_backup_if_checksum_is_different --file="$final_path/etc/local.d/couch_ynh.ini"
|
||||
|
||||
# Calculate and store the config file checksum into the app settings
|
||||
ynh_store_file_checksum --file="$final_path/etc/local.d/couch_ynh.ini"
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue