diff options
author | Erich Eckner <git@eckner.net> | 2020-04-19 00:21:08 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-04-19 00:21:08 +0200 |
commit | a1e1e09c2daf13ba6896783a300c94785e3b2525 (patch) | |
tree | 4f7b5564f7475667f5926055278c1ead8fc046a1 /cpan2cruxPorts/p5-sys-info-driver-linux/lastVersion.sh | |
parent | fae9eab7858de2f4883368b04b77dfa310850406 (diff) | |
download | crux-ports-a1e1e09c2daf13ba6896783a300c94785e3b2525.tar.xz |
p5-sys-info-driver-linux new
Diffstat (limited to 'cpan2cruxPorts/p5-sys-info-driver-linux/lastVersion.sh')
-rwxr-xr-x | cpan2cruxPorts/p5-sys-info-driver-linux/lastVersion.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cpan2cruxPorts/p5-sys-info-driver-linux/lastVersion.sh b/cpan2cruxPorts/p5-sys-info-driver-linux/lastVersion.sh new file mode 100755 index 0000000..9d5e0e7 --- /dev/null +++ b/cpan2cruxPorts/p5-sys-info-driver-linux/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 |