diff --git a/scripts/install.sh b/scripts/install.sh index 0708276..e0b1130 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -1,5 +1,11 @@ #!/usr/bin/env bash -set -euo pipefail + +# Fail-safe bash mode (only if bash is used) +if [ -n "$BASH_VERSION" ]; then + set -euo pipefail +else + set -eu +fi # === Konfiguration === REPO_URL="https://git.0xmax42.io/maxp/systemd-timer/releases/download/latest" @@ -45,4 +51,4 @@ else fi echo "✅ Installation complete: $(command -v ${BINARY_NAME})" -"${BINARY_NAME}" --version || true +"${BINARY_NAME}" --version || true \ No newline at end of file