1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dato_ynh.git synced 2024-09-03 18:16:33 +02:00

Stop using ynh_store_file_checksum in install script since ynh_add_config is doing the job.

This commit is contained in:
squeak 2021-03-12 19:32:06 +01:00
parent 5f5b33e92d
commit b0a59bebd1

View file

@ -159,15 +159,6 @@ ynh_script_progression --message="Generating dato config files..." --weight=3
dato_setup_config_files
#=================================================
# STORE THE CONFIG FILES CHECKSUM
#=================================================
ynh_script_progression --message="Storing config files checksums..." --weight=2
# Calculate and store the config file checksum into the app settings
ynh_store_file_checksum --file="$final_path/config/public.js"
ynh_store_file_checksum --file="$final_path/config/private.js"
#=================================================
# CUSTOMIZE SETUP FOR AUTOSYNCHRONIZATION
#=================================================
@ -182,8 +173,6 @@ if [[ $autosynchronize == true ]]; then
# make sure that couchdb has CORS enabled and that it accepts requests from dato domain
ynh_add_config --template="../conf/couch.ini" --destination="/opt/couchdb/etc/local.d/$app.ini"
ynh_store_file_checksum --file="/opt/couchdb/etc/local.d/$app.ini"
#=================================================
# SETUP A COUCHDB DATO ADMIN USER
#=================================================