summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-14 00:08:30 +0300
committerPaul Buetow <paul@buetow.org>2026-06-14 00:08:30 +0300
commitaabe2efbb79938dbbdb4f0ab496cdc22e7280736 (patch)
tree6c92e044160f783aafbcec56b2d3fe0a0bf75afe /bin
parentf9291765b363809ff4e75ff441d374ecef3ad40a (diff)
km0 address job pool review
Diffstat (limited to 'bin')
-rwxr-xr-xbin/shuriken6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/shuriken b/bin/shuriken
index e6af2cb..2efd49a 100755
--- a/bin/shuriken
+++ b/bin/shuriken
@@ -4,6 +4,12 @@ set -euo pipefail
# shuriken (c) 2011 - 2014, 2022 by Paul Buetow
# https://codeberg.org/snonux/shuriken.sh
+if (( BASH_VERSINFO[0] < 5 \
+ || (BASH_VERSINFO[0] == 5 && BASH_VERSINFO[1] < 1) )); then
+ printf 'ERROR: shuriken requires Bash 5.1 or newer\n' >&2
+ exit 1
+fi
+
declare -r VERSION='0.7.0'
declare -r DEFAULTRC="${SHURIKEN_DEFAULT_RC:-/etc/default/shuriken}"
declare -r PACKAGED_TEMPLATE_DIR='/usr/share/shuriken/templates/default'