diff options
author | Erich Eckner <git@eckner.net> | 2018-05-27 10:13:52 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-05-27 10:13:52 +0200 |
commit | 14a8f5d3c7889f2046a008b1b1dc29f485ebb359 (patch) | |
tree | 644ebb60f7155dd5c139d233857684fbcd8546e6 /uselessPorts/libconfuse/lastVersion.sh | |
download | crux-ports-14a8f5d3c7889f2046a008b1b1dc29f485ebb359.tar.xz |
initial commit
Diffstat (limited to 'uselessPorts/libconfuse/lastVersion.sh')
-rwxr-xr-x | uselessPorts/libconfuse/lastVersion.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/uselessPorts/libconfuse/lastVersion.sh b/uselessPorts/libconfuse/lastVersion.sh new file mode 100755 index 0000000..aa0c977 --- /dev/null +++ b/uselessPorts/libconfuse/lastVersion.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +curl 'http://download.savannah.gnu.org/releases/confuse/' 2> /dev/null | \ + tr '"' '\n' | \ + grep '^confuse-[0-9.]\+\.tar\.gz$' | \ + sed 's|^confuse-\([0-9.]\+\)\.tar\.gz$|\1|' | \ + sort -V | \ + tail -n1 |