diff --git a/conf/config.json.example b/conf/config.json.default similarity index 100% rename from conf/config.json.example rename to conf/config.json.default diff --git a/scripts/change_url b/scripts/change_url index dbd1cf3..3ce692b 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.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" diff --git a/scripts/install b/scripts/install index 9c94610..11167ae 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.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" diff --git a/scripts/upgrade b/scripts/upgrade index 98a6a49..91fd63f 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.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"