diff options
author | Erich Eckner <git@eckner.net> | 2022-11-03 23:02:05 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2022-11-03 23:02:05 +0100 |
commit | 7528fc6f1d9218cb97a36e328dec9cdaf3d7216a (patch) | |
tree | fe4872917df073c17b334cbecf90337913541f7e /manualPorts | |
parent | a995508bfbbb3329c26ba5c4b550f208d387b2b3 (diff) | |
download | crux-ports-7528fc6f1d9218cb97a36e328dec9cdaf3d7216a.tar.xz |
vigra: fix lastVersion.sh
Diffstat (limited to 'manualPorts')
-rwxr-xr-x | manualPorts/vigra/lastVersion.sh | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/manualPorts/vigra/lastVersion.sh b/manualPorts/vigra/lastVersion.sh index c7fd2f6..1786484 100755 --- a/manualPorts/vigra/lastVersion.sh +++ b/manualPorts/vigra/lastVersion.sh @@ -1,8 +1,11 @@ #!/bin/bash -curl 'https://github.com/ukoethe/vigra/releases/' 2> /dev/null | \ - tr '<>' '\n\n' | \ - grep '^vigra-[0-9.]\+-src\.tar\.gz$' | \ - sed 's|^vigra-\([0-9.]\+\)-src\.tar\.gz$|\1|' | \ +curl -Ss 'https://github.com/ukoethe/vigra/releases/' | \ + tr '<>' '\n' | \ + sed ' + s@^Version \([0-9.]\+\)$@\1@ + t + d + ' | \ sort -V | \ tail -n1 |