• v0.6.1 fde053a27e

    install.sh: POSIX-compatible 'set -o pipefail' so 'curl | sh' works
    release / build (arm64) (push) Waiting to run
    release / build (x86_64) (push) Waiting to run
    release / release (push) Blocked by required conditions

    leviathan released this 2026-05-23 04:24:58 +00:00 | 39 commits to main since this release

    The README documents the one-liner as 'curl ... install.sh | sh',
    but on Debian/Ubuntu /bin/sh is dash which rejects 'set -o pipefail'
    unknown option. The shebang #!/usr/bin/env bash is honored only
    when the script is invoked directly — when piped via 'curl | sh'
    the running shell IS dash.

    Fix: split the strict-mode setup. 'set -eu' is POSIX-portable
    (every shell). 'pipefail' is then enabled conditionally only on
    shells that recognise it. Every curl/tar/install step in the rest
    of the script checks its own exit code, so losing pipefail in dash
    costs no behaviour — the installer still fails fast on any error.

    Downloads