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:
parent
e5f2973a56
commit
b558968551
2 changed files with 0 additions and 22 deletions
|
@ -112,16 +112,6 @@ ynh_add_systemd_config
|
||||||
# CONFIGURE CONFIG.JS
|
# 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"
|
ynh_add_config --template="../conf/config.js" --destination="$final_path/config/config.js"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -111,18 +111,6 @@ ynh_system_user_create --username=$app
|
||||||
# CONFIGURE CONFIG.JS
|
# 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"
|
ynh_add_config --template="../conf/config.js" --destination="$final_path/config/config.js"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue