From 05d5d8c74af92c4f3fb471c34a7bf4a0c0dc3438 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 13 Oct 2020 20:49:08 +0200 Subject: [PATCH] default -> example Reverting to previous terminologie... --- conf/{config.json.default => config.json.example} | 0 scripts/change_url | 2 +- scripts/install | 4 ++-- scripts/upgrade | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename conf/{config.json.default => config.json.example} (100%) diff --git a/conf/config.json.default b/conf/config.json.example similarity index 100% rename from conf/config.json.default rename to conf/config.json.example diff --git a/scripts/change_url b/scripts/change_url index 9a391cc..dadd871 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -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.default "$final_path/config.json" +cp ../conf/config.json.example "$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" diff --git a/scripts/install b/scripts/install index f445fc2..919d41a 100644 --- a/scripts/install +++ b/scripts/install @@ -143,7 +143,7 @@ ynh_add_systemd_config #================================================= ynh_script_progression --message="Modifying a config file..." -cp ../conf/config.json.default "$final_path/config.json" +cp ../conf/config.json.example "$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.default "$final_path/.sequelizerc" +cp ../conf/.sequelizerc.example "$final_path/.sequelizerc" # DB Config File ynh_replace_string --match_string="__DB_USER__" --replace_string="$db_user" --target_file="$final_path/.sequelizerc" diff --git a/scripts/upgrade b/scripts/upgrade index 74c305b..dd105ec 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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.default "$final_path/config.json" +cp ../conf/config.json.example "$final_path/config.json" # Main config File ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$final_path/config.json"