summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-04-25 15:45:09 +0200
committerErich Eckner <git@eckner.net>2016-04-25 16:25:14 +0200
commita8f9b2c8743ec9999e7a55007fe524e4b5f0a709 (patch)
treee6a135d9e80db2ef36bbd44d67d10bf3728930ce
parent7313f7c4253449e85d284e64d63c6b8bde8c4a58 (diff)
downloadarchlinuxewe-a8f9b2c8743ec9999e7a55007fe524e4b5f0a709.tar.xz
checkVersions kann jetzt auch pgplot-for-ifeffit
-rwxr-xr-xcheckVersions11
1 files changed, 10 insertions, 1 deletions
diff --git a/checkVersions b/checkVersions
index 3864da002..9d6d44728 100755
--- a/checkVersions
+++ b/checkVersions
@@ -90,7 +90,16 @@ then
for src in "${source[@]}"
do
- if echo "${src}" | \
+ if [ "${pkgname}" == "pgplot-for-ifeffit" ]
+ then
+ remVer="$(
+ curl -o - "ftp://ftp.astro.caltech.edu/pub/pgplot/" | \
+ grep "\spgplot[0-9.]\+\.tar\.gz -> \S\+\$" | \
+ sed "s|^.*\spgplot\([0-9.]\+\)\.tar\.gz -> \S\+\$|\1|" | \
+ sort -V | \
+ tail -n1
+ )"
+ elif echo "${src}" | \
grep -q "//bundles\.openttdcoop\.org/"
then
qu="$(