summaryrefslogtreecommitdiff
path: root/checkVersions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-08-24 18:16:07 +0200
committerErich Eckner <git@eckner.net>2017-08-24 18:16:07 +0200
commit7609a5f48f9556e059e3c59909b93bbe98a90682 (patch)
treeedad52402feb38bd57676a1806b76160e33e9473 /checkVersions
parent3b6c5c6681a8964cc1432d4b2ee032040ab178cf (diff)
downloadarchlinuxewe.git.save-7609a5f48f9556e059e3c59909b93bbe98a90682.tar.xz
checkVersions: archiso32 Version jetzt auch von uns mit ermitteln - vllt. sind wir ja neuer?
Diffstat (limited to 'checkVersions')
-rwxr-xr-xcheckVersions16
1 files changed, 12 insertions, 4 deletions
diff --git a/checkVersions b/checkVersions
index f1041af9..3aff3639 100755
--- a/checkVersions
+++ b/checkVersions
@@ -161,10 +161,18 @@ then
then
git -C /usr/src/archlinux/archiso fetch upstream
remVer="$(
- git -C /usr/src/archlinux/archiso archive --format=tar upstream/master | \
- tar -Ox Makefile | \
- grep -m1 '^V=[0-9.]\+$' | \
- cut -d= -f2
+ (
+ git -C /usr/src/archlinux/archiso archive --format=tar upstream/master | \
+ tar -Ox Makefile | \
+ grep -m1 '^V=[0-9.]\+$' | \
+ cut -d= -f2
+ curl_it 'https://github.com/archlinux32/archiso32/releases' | \
+ tr '"' '\n' | \
+ grep '^/archlinux32/archiso32/releases/tag/\(i686\|dual\)-v[0-9.]\+$' | \
+ sed 's@^/archlinux32/archiso32/releases/tag/\(i686\|dual\)-v\([0-9.]\+\)$@\2@'
+ ) | \
+ sort -V | \
+ tail -n1
)"
elif echo "${src}" | \
grep -q '//download\.virtualbox\.org/'