diff options
Diffstat (limited to 'manualPorts/tinc/lastVersion.sh')
-rwxr-xr-x | manualPorts/tinc/lastVersion.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/manualPorts/tinc/lastVersion.sh b/manualPorts/tinc/lastVersion.sh new file mode 100755 index 0000000..11e510a --- /dev/null +++ b/manualPorts/tinc/lastVersion.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +curl -Ss 'https://www.tinc-vpn.org/packages/' \ +| sed ' + s@^.*<a href="\(tinc-\([0-9.]\+\)\.tar\.gz\)">\1</a>.*$@\2@ + t + d +' \ +| sort -V \ +| tail -n1 |