diff options
author | Erich Eckner <git@eckner.net> | 2019-01-21 21:55:01 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-01-21 21:55:01 +0100 |
commit | 5da6e7afb6137bc74bda83073dd5f8264f8c6e68 (patch) | |
tree | d3854581c522e784d2d42da9e50f2d948e007d2b /manualPorts/offlineimap | |
parent | ce6aa3ae61a72efbe02a97b692739893e42aa5a5 (diff) | |
download | crux-ports-5da6e7afb6137bc74bda83073dd5f8264f8c6e68.tar.xz |
cleanup
Diffstat (limited to 'manualPorts/offlineimap')
-rwxr-xr-x | manualPorts/offlineimap/lastVersion.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/manualPorts/offlineimap/lastVersion.sh b/manualPorts/offlineimap/lastVersion.sh new file mode 100755 index 0000000..b74f151 --- /dev/null +++ b/manualPorts/offlineimap/lastVersion.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +curl 'https://github.com/OfflineIMAP/offlineimap/releases/' 2> /dev/null | \ + tr '"<>' '\n' | \ + sed ' + s,^/OfflineIMAP/offlineimap/archive/v\([0-9.]\+\)\.tar\.gz$,\1, + t + d + ' | \ + sort -V | \ + tail -n1 |