diff options
Diffstat (limited to 'manualPorts/runjobsparallel')
-rwxr-xr-x | manualPorts/runjobsparallel/lastVersion.sh | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/manualPorts/runjobsparallel/lastVersion.sh b/manualPorts/runjobsparallel/lastVersion.sh index 7a16a39..1147c0d 100755 --- a/manualPorts/runjobsparallel/lastVersion.sh +++ b/manualPorts/runjobsparallel/lastVersion.sh @@ -1,8 +1,11 @@ #!/bin/bash -wget -O - "https://opensources.eckner.net/ls.php?ls=runjobsparallel" 2> /dev/null | \ - tr "<>" "\n\n" | \ - grep "^runjobsparallel-" | \ - sed "s|^runjobsparallel-||" | \ +curl -Ss "https://git.eckner.net/Erich/$(basename "${0%/*}")/refs/" | \ + tr '<>' '\n' | \ + sed -n " + s,^a href='/Erich/$(basename "${0%/*}")/snapshot/$(basename "${0%/*}")-\([0-9.]\+\)\.tar\.xz'$,\1, + T + p + " | \ sort -V | \ tail -n1 |