diff options
author | Erich Eckner <git@eckner.net> | 2019-01-18 08:27:53 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-01-18 08:27:53 +0100 |
commit | c7a81bd8388392d337a9e6405347cb89e94da335 (patch) | |
tree | 95def996003e5d2224009d17989f02f51471adc1 /checkVersions | |
parent | c23a29373524b5d341e3fef78f4b623d4cc958a0 (diff) | |
download | archlinuxewe-c7a81bd8388392d337a9e6405347cb89e94da335.tar.xz |
checkVersions: no dots for empty pgplot versions
Diffstat (limited to 'checkVersions')
-rwxr-xr-x | checkVersions | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/checkVersions b/checkVersions index 8a5d9a512..cb22ae3b5 100755 --- a/checkVersions +++ b/checkVersions @@ -564,7 +564,10 @@ then sort -V | \ tail -n1 \ ) - [ "${pkgname}" == "pgplot" ] && remVer="${tmpVer:0:1}.${tmpVer:1:1}.${tmpVer:2}" || remVer="${tmpVer}" + [ "${pkgname}" == "pgplot" ] \ + && [ -n "${tmpVer}" ] \ + && remVer="${tmpVer:0:1}.${tmpVer:1:1}.${tmpVer:2}" \ + || remVer="${tmpVer}" elif echo "${src}" | \ grep -q '//arch\.eckner\.net/\|//mirror\.archlinux32\.org/' then |