summaryrefslogtreecommitdiff
path: root/checkVersions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-04-20 08:51:24 +0200
committerErich Eckner <git@eckner.net>2016-04-20 08:55:18 +0200
commit85ae34ad0e7c847a28c2faa0f13d95490eac7fe0 (patch)
tree916816635773af069b9fee00a7283395332c8e1f /checkVersions
parentc1b2af1a0238ad3ab5511dc039eef56167a5aba3 (diff)
downloadarchlinuxewe-85ae34ad0e7c847a28c2faa0f13d95490eac7fe0.tar.xz
checkVersions kann jetzt auch openttd-openmsx
Diffstat (limited to 'checkVersions')
-rwxr-xr-xcheckVersions15
1 files changed, 15 insertions, 0 deletions
diff --git a/checkVersions b/checkVersions
index 92216b1dd..269c93c9d 100755
--- a/checkVersions
+++ b/checkVersions
@@ -91,6 +91,21 @@ then
do
if echo "${src}" | \
+ grep -q "//bundles\.openttdcoop\.org/"
+ then
+ qu="$(
+ echo "${src}" | \
+ sed 's|^\(https\?://\([^/]\+/\)\{3\}\).*$|\1|'
+ )"
+ remVer="$(
+ curl -o - "${qu}" 2> /dev/null | \
+ tr "\"" "\n" | \
+ grep '^[0-9.]\+/$' | \
+ sed 's|/$||' | \
+ sort -V | \
+ tail -n1
+ )"
+ elif echo "${src}" | \
grep -q "//opensources\.eckner\.net/"
then
qu=${src#*::}