summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-20 11:59:02 +0100
committerErich Eckner <git@eckner.net>2019-02-20 11:59:02 +0100
commit621336f3284c9fd5a9cc77cf2c9d9006cca6e326 (patch)
treeafa48502c3c255b1fc774023e0f93d4639d277de
parent7b86c7ba1dd4e93327ce9a5fc7fb44e162881c6f (diff)
downloadarchlinuxewe-621336f3284c9fd5a9cc77cf2c9d9006cca6e326.tar.xz
checkVersions: kann jetzt auch topal
-rwxr-xr-xcheckVersions13
1 files changed, 13 insertions, 0 deletions
diff --git a/checkVersions b/checkVersions
index 7e7465af4..e381d8a51 100755
--- a/checkVersions
+++ b/checkVersions
@@ -929,6 +929,19 @@ then
sort -V | \
tail -n1
)
+ elif echo "${src}" | \
+ grep -q '//zircon\.org\.uk/topal/'
+ then
+ remVer=$(
+ curl_it "${src%/*/*}/" | \
+ sed '
+ s,^.*<a href="\(rel-\([0-9.]\+\)\)">\1</a>.*$,\2,
+ t
+ d
+ ' | \
+ sort -V | \
+ tail -n1
+ )
else
continue
fi