From dbbac21164532c135fc7f806e67170e21e3535ce Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 4 Feb 2019 14:50:44 +0100 Subject: checkVersions: kennt jetzt auch spamassassin --- checkVersions | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'checkVersions') diff --git a/checkVersions b/checkVersions index bcc857d4..d51b2538 100755 --- a/checkVersions +++ b/checkVersions @@ -906,6 +906,20 @@ then d ' ) + elif echo "${src}" | \ + grep -q '//www\.us\.apache\.org/dist/spamassassin/source/' + then + remVer=$( + curl_it 'https://spamassassin.apache.org/downloads.cgi' | \ + tr '"' '\n' | \ + sed ' + s,^.*/Mail-SpamAssassin-\([0-9.]\+\)\.tar\.gz$,\1, + t + d + ' | \ + sort -V | \ + tail -n1 + ) else continue fi -- cgit v1.2.3-70-g09d2