From c8997b94da641b2b23c8d8ad72fec1ae3418a033 Mon Sep 17 00:00:00 2001 From: David Runge Date: Mon, 8 Feb 2021 21:06:00 +0100 Subject: pkgs: Switch to json as nvchecker state file bin/pkgs: When creating new configurations for repositories, use json as state files (the data is json, so txt makes no sense). --- bin/pkgs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pkgs b/bin/pkgs index 700fb43..ab325b1 100755 --- a/bin/pkgs +++ b/bin/pkgs @@ -71,7 +71,7 @@ create_nvchecker_config() { mkdir -p "${nvchecker_dir_base}" fi if [[ ! -f "${nvchecker_dir_base}${repo}.toml" ]]; then - printf "[__config__]\noldver = \"%s.old.txt\"\nnewver = \"%s.new.txt\"\n" "${repo}" "${repo}" \ + printf "[__config__]\noldver = \"%s.old.json\"\nnewver = \"%s.new.json\"\n" "${repo}" "${repo}" \ > "${nvchecker_dir_base}${repo}.toml" fi } -- cgit v1.2.3-54-g00ecf