From 8adba84814009a80c3aab501d70f8f5c8288352d Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 13 Mar 2018 10:06:30 +0100 Subject: checkVersions: get to know hashcash and tea --- checkVersions | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/checkVersions b/checkVersions index 712bdf230..5c53d99d0 100755 --- a/checkVersions +++ b/checkVersions @@ -575,6 +575,7 @@ then 'dl\.suckless\.org' \ 'download\.osgeo\.org' \ 'ftp\.daper\.net' \ + 'www\.hashcash\.org' \ 'isl\.gforge\.inria\.fr' \ 'pkgbuild\.com' \ 'qgis\.org' \ @@ -713,6 +714,18 @@ then sort -n | \ tail -n1 )" + elif echo "${src}" | \ + grep -q '://semiletov\.org/[^/]*/dloads/' + then + remVer=$( + curl_it "${source%%/dloads/*}/" | \ + tr '"' '\n' | \ + sed -n ' + s,^\(http://.*/\|dloads/\|\)'"${pkgname}"'-\([0-9.]\+\)\.tar\.bz2$,\2, + T + p + ' + ) else continue fi -- cgit v1.2.3-70-g09d2