summaryrefslogtreecommitdiff
path: root/manualPorts/bareos-filedaemon
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-11-25 21:23:28 +0100
committerErich Eckner <git@eckner.net>2021-11-25 21:23:28 +0100
commit8e4a1159db2d29595230d054c2b5b5bfb56c9889 (patch)
tree2b910ddfbfd823c6a6c92caf09bbd8e5cd7f3c77 /manualPorts/bareos-filedaemon
parentddeff2d98bbe4d561778c31d010a7df4e1d84539 (diff)
downloadcrux-ports-8e4a1159db2d29595230d054c2b5b5bfb56c9889.tar.xz
bareos-fd: lastVersion.sh neu
Diffstat (limited to 'manualPorts/bareos-filedaemon')
-rwxr-xr-xmanualPorts/bareos-filedaemon/lastVersion.sh11
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