diff options
author | Erich Eckner <git@eckner.net> | 2016-04-26 14:16:19 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-04-26 14:16:19 +0200 |
commit | 245e4c4aeb4705817cab68b808d2a6162793cc05 (patch) | |
tree | e6ba820bf4b100f8055c16cea307f095e89686e8 | |
parent | dceb05de20e6b5459c5eb20e1d45acb595ab59ff (diff) | |
download | archlinuxewe.git.save-245e4c4aeb4705817cab68b808d2a6162793cc05.tar.xz |
clean up checkVersions
-rwxr-xr-x | checkVersions | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/checkVersions b/checkVersions index 9d6d4472..684a5210 100755 --- a/checkVersions +++ b/checkVersions @@ -90,10 +90,12 @@ then for src in "${source[@]}" do + src="${src#*::}" + if [ "${pkgname}" == "pgplot-for-ifeffit" ] then remVer="$( - curl -o - "ftp://ftp.astro.caltech.edu/pub/pgplot/" | \ + curl -o - "ftp://ftp.astro.caltech.edu/pub/pgplot/" 2> /dev/null | \ grep "\spgplot[0-9.]\+\.tar\.gz -> \S\+\$" | \ sed "s|^.*\spgplot\([0-9.]\+\)\.tar\.gz -> \S\+\$|\1|" | \ sort -V | \ |