mirror of
https://github.com/YunoHost-Apps/codimd_ynh.git
synced 2024-09-03 18:16:32 +02:00
Rename config.json.example into config.json.default
This commit is contained in:
parent
97672fd18d
commit
04a0707567
4 changed files with 4 additions and 4 deletions
|
@ -115,7 +115,7 @@ ynh_backup_if_checksum_is_different --file="$final_path/config.json"
|
|||
domain=$new_domain
|
||||
path_url=$new_path
|
||||
|
||||
cp ../conf/config.json.example "$final_path/config.json"
|
||||
cp ../conf/config.json.default "$final_path/config.json"
|
||||
|
||||
ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$final_path/config.json"
|
||||
ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="$final_path/config.json"
|
||||
|
|
|
@ -143,7 +143,7 @@ ynh_add_systemd_config
|
|||
#=================================================
|
||||
ynh_script_progression --message="Modifying a config file..."
|
||||
|
||||
cp ../conf/config.json.example "$final_path/config.json"
|
||||
cp ../conf/config.json.default "$final_path/config.json"
|
||||
|
||||
# Main config File
|
||||
ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$final_path/config.json"
|
||||
|
@ -156,7 +156,7 @@ ynh_replace_string --match_string="__APP__" --replace_string="$app" --t
|
|||
|
||||
ynh_store_file_checksum --file="$final_path/config.json"
|
||||
|
||||
cp ../conf/.sequelizerc.example "$final_path/.sequelizerc"
|
||||
cp ../conf/.sequelizerc.default "$final_path/.sequelizerc"
|
||||
|
||||
# DB Config File
|
||||
ynh_replace_string --match_string="__DB_USER__" --replace_string="$db_user" --target_file="$final_path/.sequelizerc"
|
||||
|
|
|
@ -139,7 +139,7 @@ ynh_script_progression --message="Modifying a config file..." --weight=2
|
|||
|
||||
ynh_backup_if_checksum_is_different --file="$final_path/config.json"
|
||||
|
||||
cp ../conf/config.json.example "$final_path/config.json"
|
||||
cp ../conf/config.json.default "$final_path/config.json"
|
||||
|
||||
# Main config File
|
||||
ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$final_path/config.json"
|
||||
|
|
Loading…
Reference in a new issue