summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-07-09 08:49:22 +0200
committerErich Eckner <git@eckner.net>2018-07-09 08:49:22 +0200
commitaac78d78eb56e8e275da79c9ff3d1401490c5655 (patch)
tree9a2295b18c58f654d78a218b498fc52f5a91bb76
parent3fbe985362dc467fdf475b832dc7b59b2cac90b0 (diff)
downloadarchlinuxewe-aac78d78eb56e8e275da79c9ff3d1401490c5655.tar.xz
checkVersions: repair virtualbox-ext-oracle
-rwxr-xr-xcheckVersions9
1 files changed, 8 insertions, 1 deletions
diff --git a/checkVersions b/checkVersions
index 859e2219c..c7d681118 100755
--- a/checkVersions
+++ b/checkVersions
@@ -281,7 +281,14 @@ then
sed 's|/[^/]\+/[^/]\+$||'
)"
remVer="$(
- curl_it "${quVer}/LATEST.TXT"
+ curl_it "${quVer}/" | \
+ sed -n '
+ s,^.*<a href="\([0-9.]\+\)/">.*$,\1,
+ T
+ p
+ ' | \
+ sort -V | \
+ tail -n1
)"
elif echo "${src}" | \
grep -q "//www\.mpich\.org/"