diff options
author | Erich Eckner <git@eckner.net> | 2021-11-25 21:23:28 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-11-25 21:23:28 +0100 |
commit | 8e4a1159db2d29595230d054c2b5b5bfb56c9889 (patch) | |
tree | 2b910ddfbfd823c6a6c92caf09bbd8e5cd7f3c77 /manualPorts/bareos-filedaemon | |
parent | ddeff2d98bbe4d561778c31d010a7df4e1d84539 (diff) | |
download | crux-ports-8e4a1159db2d29595230d054c2b5b5bfb56c9889.tar.xz |
bareos-fd: lastVersion.sh neu
Diffstat (limited to 'manualPorts/bareos-filedaemon')
-rwxr-xr-x | manualPorts/bareos-filedaemon/lastVersion.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/manualPorts/bareos-filedaemon/lastVersion.sh b/manualPorts/bareos-filedaemon/lastVersion.sh new file mode 100755 index 0000000..e2f23f0 --- /dev/null +++ b/manualPorts/bareos-filedaemon/lastVersion.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +curl -Ss 'https://github.com/bareos/bareos/releases' \ +| tr '"' '\n' \ +| sed ' + s@^/bareos/bareos/releases/tag/Release%2F@@ + t + d +' \ +| sort -V \ +| tail -n1 |