From a8f9b2c8743ec9999e7a55007fe524e4b5f0a709 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 25 Apr 2016 15:45:09 +0200 Subject: checkVersions kann jetzt auch pgplot-for-ifeffit --- checkVersions | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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="$( -- cgit v1.2.3-70-g09d2