diff options
Diffstat (limited to 'manualPorts/update-ddns/lastVersion.sh')
-rwxr-xr-x | manualPorts/update-ddns/lastVersion.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/manualPorts/update-ddns/lastVersion.sh b/manualPorts/update-ddns/lastVersion.sh new file mode 100755 index 0000000..c82780a --- /dev/null +++ b/manualPorts/update-ddns/lastVersion.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +wget -O - "https://opensources.eckner.net/ls.php?ls=update-ddns" 2> /dev/null | \ + tr "<>" "\n\n" | \ + grep "^update-ddns-" | \ + sed "s|^update-ddns-||" | \ + sort -V | \ + tail -n1 |