1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cryptpad_ynh.git synced 2024-09-03 18:26:14 +02:00

Cleaning up

This commit is contained in:
ericgaspar 2021-03-17 12:38:04 +01:00
parent e5f2973a56
commit b558968551
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 0 additions and 22 deletions

View file

@ -112,16 +112,6 @@ ynh_add_systemd_config
# CONFIGURE CONFIG.JS
#=================================================
# # Copy default configuration file
# mv "../conf/config.js" "$final_path/config/config.js"
# ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$final_path/config/config.js"
# ynh_replace_string --match_string="__PORTI__" --replace_string="$porti" --target_file="$final_path/config/config.js"
# ynh_replace_string --match_string="__EMAIL__" --replace_string="$email" --target_file="$final_path/config/config.js"
# # Store file checksum to detected user modifications on upgrade
# ynh_store_file_checksum "$final_path/config/config.js"
ynh_add_config --template="../conf/config.js" --destination="$final_path/config/config.js"
#=================================================

View file

@ -111,18 +111,6 @@ ynh_system_user_create --username=$app
# CONFIGURE CONFIG.JS
#=================================================
# ynh_backup_if_checksum_is_different "$final_path/config/config.js"
# # Copy default configuration file
# mv "../conf/config.js" "$final_path/config/config.js"
# ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$final_path/config/config.js"
# ynh_replace_string --match_string="__PORTI__" --replace_string="$porti" --target_file="$final_path/config/config.js"
# ynh_replace_string --match_string="__EMAIL__" --replace_string="$email" --target_file="$final_path/config/config.js"
# # Store file checksum to detected user modifications on upgrade
# ynh_store_file_checksum "$final_path/config/config.js"
ynh_add_config --template="../conf/config.js" --destination="$final_path/config/config.js"
#=================================================