aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2021-02-08 21:06:00 +0100
committerDavid Runge <dave@sleepmap.de>2021-02-08 21:06:00 +0100
commitc8997b94da641b2b23c8d8ad72fec1ae3418a033 (patch)
tree5b56a335e0d20c87f02e66a7a3ab89688750740f
parent80af587865f7d67c61e6c57525fe4719af26c291 (diff)
downloaddotfiles-c8997b94da641b2b23c8d8ad72fec1ae3418a033.tar.gz
dotfiles-c8997b94da641b2b23c8d8ad72fec1ae3418a033.tar.bz2
dotfiles-c8997b94da641b2b23c8d8ad72fec1ae3418a033.tar.xz
dotfiles-c8997b94da641b2b23c8d8ad72fec1ae3418a033.zip
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).
-rwxr-xr-xbin/pkgs2
1 files changed, 1 insertions, 1 deletions
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
}