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