diff options
author | Erich Eckner <git@eckner.net> | 2019-10-07 09:36:26 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-10-07 09:36:26 +0200 |
commit | 2ec04ac8158696b8402728015692c6630254174e (patch) | |
tree | e9e37b271ed209d501ddbc507e22f607deffa89a | |
parent | 495dbadb3298b18a72bd3324717bb0737c7f0376 (diff) | |
download | archlinuxewe.git.save-2ec04ac8158696b8402728015692c6630254174e.tar.xz |
checkVersions: hyperrogue: separate last letter by dot
-rwxr-xr-x | checkVersions | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/checkVersions b/checkVersions index 41f3a65b..f323746e 100755 --- a/checkVersions +++ b/checkVersions @@ -946,10 +946,11 @@ then then remVer=$( curl_it "${src%/*}/download.php" | \ - sed ' - s,^.*<a href="hyperrogue\([0-9]\+\)\([0-9][a-z]\?\)-src.tgz">[^<>]\+ source code</a>.*$,\1.\2, - t - d + sed -n ' + s,^.*<a href="hyperrogue\([0-9]\+\)\([0-9]\)\([a-z]\?\)-src.tgz">[^<>]\+ source code</a>.*$,\1.\2.\3, + T + s,\.$,, + p ' ) elif echo "${src}" | \ |