diff options
Diffstat (limited to 'manualPorts/cdrdao/lastVersion.sh')
-rwxr-xr-x | manualPorts/cdrdao/lastVersion.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/manualPorts/cdrdao/lastVersion.sh b/manualPorts/cdrdao/lastVersion.sh new file mode 100755 index 0000000..99bc56d --- /dev/null +++ b/manualPorts/cdrdao/lastVersion.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +curl -Ss 'https://sourceforge.net/projects/cdrdao/files/' | \ + tr ' ' '\n' | \ + sed -n ' + s/^title="cdrdao-\([0-9.]\+\)\.tar\.bz2"$/\1/ + T + p + ' | \ + sort -V | \ + tail -n1 |