summaryrefslogtreecommitdiff
path: root/checkVersions
diff options
context:
space:
mode:
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/'