diff options
author | Erich Eckner <git@eckner.net> | 2021-03-25 21:37:59 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-03-25 21:37:59 +0100 |
commit | 484098675e89b65835846394fb150290bd5c79d2 (patch) | |
tree | 0fbc081614c8cfcb187f9c1c9bfe62ccd355b98a /manualPorts | |
parent | 680f3399315041c6b98eacb1b277baf16df5b326 (diff) | |
download | crux-ports-484098675e89b65835846394fb150290bd5c79d2.tar.xz |
conky: update lastVrsion.sh
Diffstat (limited to 'manualPorts')
-rwxr-xr-x | manualPorts/conky/lastVersion.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/manualPorts/conky/lastVersion.sh b/manualPorts/conky/lastVersion.sh index 4a03aac..1593344 100755 --- a/manualPorts/conky/lastVersion.sh +++ b/manualPorts/conky/lastVersion.sh @@ -2,7 +2,10 @@ curl "https://github.com/brndnmtthws/conky/releases" 2> /dev/null | \ tr "\"" "\n" | \ - grep "^/brndnmtthws/conky/archive/v[0-9.-]*\.tar\.gz\$" | \ - sed "s|^/brndnmtthws/conky/archive/v\(.*\)\.tar\.gz\$|\1|" | \ + sed ' + s@^/brndnmtthws/conky/archive/refs/tags/v\([0-9.-]*\)\.tar\.gz$@\1@ + t + d + ' | \ sort -V | \ tail -n1 |