summaryrefslogtreecommitdiff
path: root/checkVersions
diff options
context:
space:
mode:
Diffstat (limited to 'checkVersions')
-rwxr-xr-xcheckVersions15
1 files changed, 15 insertions, 0 deletions
diff --git a/checkVersions b/checkVersions
index f891d412..d9b86551 100755
--- a/checkVersions
+++ b/checkVersions
@@ -489,6 +489,21 @@ then
latest_version
)"
elif echo "${src}" | \
+ grep -q "//raw\.githubusercontent\.com/qemu/qemu/"; then
+ sum=$(
+ curl -Ss "${src}" | \
+ sha512sum - | \
+ awk '{print $1}'
+ )
+ if printf '%s\n' "${sha512sums[@]}" | \
+ grep -qxF "${sum}"; then
+ remVer="${pkgver}"
+ else
+ remVer=$(
+ date +%Y%m%d
+ )
+ fi
+ elif echo "${src}" | \
grep -q "//www\.mpich\.org/"
then
quVer="${src%/*/*}/"