diff options
Diffstat (limited to 'manualPorts/ii')
-rwxr-xr-x | manualPorts/ii/lastVersion.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/manualPorts/ii/lastVersion.sh b/manualPorts/ii/lastVersion.sh new file mode 100755 index 0000000..11a879d --- /dev/null +++ b/manualPorts/ii/lastVersion.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +curl -Ss 'https://dl.suckless.org/tools/' | \ + tr '"' '\n' | \ + sed ' + s/^ii-\([0-9.]\+\)\.tar\.gz$/\1/ + t + d + ' | \ + sort -V | \ + tail -n1 |