summaryrefslogtreecommitdiff
path: root/manualPorts
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-01-13 06:23:45 +0100
committerErich Eckner <git@eckner.net>2020-01-13 06:23:45 +0100
commit6d8abe380c970766bc352b19e2499ac225986942 (patch)
treec901dc16845158efd60597d2f903fc675ad9f03f /manualPorts
parent8901faf6f02e1108f30ed470b129016641f4fc44 (diff)
downloadcrux-ports-6d8abe380c970766bc352b19e2499ac225986942.tar.xz
dvdbackup: lastVersion.sh neu
Diffstat (limited to 'manualPorts')
-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