diff options
author | Erich Eckner <git@eckner.net> | 2020-01-13 06:23:45 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-01-13 06:23:45 +0100 |
commit | 6d8abe380c970766bc352b19e2499ac225986942 (patch) | |
tree | c901dc16845158efd60597d2f903fc675ad9f03f /manualPorts | |
parent | 8901faf6f02e1108f30ed470b129016641f4fc44 (diff) | |
download | crux-ports-6d8abe380c970766bc352b19e2499ac225986942.tar.xz |
dvdbackup: lastVersion.sh neu
Diffstat (limited to 'manualPorts')
-rwxr-xr-x | manualPorts/dvdbackup/lastVersion.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/manualPorts/dvdbackup/lastVersion.sh b/manualPorts/dvdbackup/lastVersion.sh new file mode 100755 index 0000000..32ef5e2 --- /dev/null +++ b/manualPorts/dvdbackup/lastVersion.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +curl 'http://dvdbackup.sourceforge.net/' 2> /dev/null | \ + sed ' + s@^.*<a href="http://downloads.sourceforge.net/dvdbackup/dvdbackup-\([0-9.]\+\).tar.xz">dvdbackup-\1.tar.xz</a>.*$@\1@ + t + d + ' | \ + sort -n | \ + tail -n1 |