summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmanualPorts/dvdbackup/lastVersion.sh10
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