summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-04-26 14:16:19 +0200
committerErich Eckner <git@eckner.net>2016-04-26 14:16:19 +0200
commit245e4c4aeb4705817cab68b808d2a6162793cc05 (patch)
treee6ba820bf4b100f8055c16cea307f095e89686e8
parentdceb05de20e6b5459c5eb20e1d45acb595ab59ff (diff)
downloadarchlinuxewe-245e4c4aeb4705817cab68b808d2a6162793cc05.tar.xz
clean up checkVersions
-rwxr-xr-xcheckVersions4
1 files changed, 3 insertions, 1 deletions
diff --git a/checkVersions b/checkVersions
index 9d6d44728..684a52106 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 | \