summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-26 15:45:28 +0200
committerErich Eckner <git@eckner.net>2017-06-26 15:45:28 +0200
commitc6e066486602fe5c71eda512c64d31f87debee57 (patch)
treed87e14bc44b7a62707619490094210d40f2f4cf4
parent4efcacc9eaad5a637f89dd2aa7980589286bd41a (diff)
downloadarchlinuxewe-c6e066486602fe5c71eda512c64d31f87debee57.tar.xz
checkVersions kennt jetzt auch virtualbox-ext-oracle
-rwxr-xr-xcheckVersions12
1 files changed, 11 insertions, 1 deletions
diff --git a/checkVersions b/checkVersions
index 8144dbb33..62a65905f 100755
--- a/checkVersions
+++ b/checkVersions
@@ -142,7 +142,7 @@ then
sort -V | \
tail -n1
)"
- elif [ "${pkgname}" == "archiso32" ]
+ elif [ "${pkgname}" == "archiso32" ] || [ "${pkgname}" == 'archiso-dual' ]
then
git -C /usr/src/archlinux/archiso fetch upstream
remVer="$(
@@ -152,6 +152,16 @@ then
cut -d= -f2
)"
elif echo "${src}" | \
+ grep -q '//download\.virtualbox\.org/'
+ then
+ quVer="$(
+ echo "${src}" | \
+ sed 's|/[^/]\+/[^/]\+$||'
+ )"
+ remVer="$(
+ curl "${quVer}/LATEST.TXT" 2> /dev/null
+ )"
+ elif echo "${src}" | \
grep -q "//www\.mpich\.org/"
then
quVer="${src%/*/*}/"