summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-07-04 11:34:44 +0200
committerErich Eckner <git@eckner.net>2019-07-04 11:34:44 +0200
commit2a89a02da82d0f1ba3671967dd373e0e22eca9e3 (patch)
tree2c1c14b3566362b3fea9be4059bdcf7242e943ae
parent84dc90c88e47f6fe10698e5fdf250ce5bbb85783 (diff)
downloadarchlinuxewe.git.save-2a89a02da82d0f1ba3671967dd373e0e22eca9e3.tar.xz
checkVersions: local-certificates new
-rwxr-xr-xcheckVersions13
1 files changed, 12 insertions, 1 deletions
diff --git a/checkVersions b/checkVersions
index acbff28c..f289b71b 100755
--- a/checkVersions
+++ b/checkVersions
@@ -199,7 +199,18 @@ then
src_name="${src%%::*}"
src="${src#*::}"
- if [ "${pkgbase}" = 'bareos' ]; then
+ if [ "${pkgname}" = 'local-certificates' ]; then
+ remVer=$(
+ curl_it 'https://eckner.net/certs/sha512sums' \
+ | sed '
+ s/^\S\+ \([0-9]\{4\}\)-\([0-9]\{2\}\)-\([0-9]\{2\}\)T\([0-9]\{2\}\):\([0-9]\{2\}\):\([0-9]\{2\}\)\.\S\+$/\1.\2.\3.\4.\5.\6/
+ t
+ d
+ ' \
+ | sort \
+ | tail -n1
+ )
+ elif [ "${pkgbase}" = 'bareos' ]; then
remVer=$(
curl_it 'https://github.com/bareos/bareos/releases' \
| sed '