diff options
Diffstat (limited to 'cpan2cruxPorts/p5-sys-info-driver-unknown/lastVersion.sh')
-rwxr-xr-x | cpan2cruxPorts/p5-sys-info-driver-unknown/lastVersion.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cpan2cruxPorts/p5-sys-info-driver-unknown/lastVersion.sh b/cpan2cruxPorts/p5-sys-info-driver-unknown/lastVersion.sh new file mode 100755 index 0000000..9d5e0e7 --- /dev/null +++ b/cpan2cruxPorts/p5-sys-info-driver-unknown/lastVersion.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +wget --output-document=- "https://cpan.metacpan.org/authors/id/B/BU/BURAK/" 2> /dev/null | \ + tr '"' '\n' | \ + sed ' + s/^Sys-Info-\([0-9.]\+\)\.tar\.gz$/\1/ + t + d + ' | \ + sort -V | \ + tail -n1 |