fix: correct raw file URL paths for Gitea

This commit is contained in:
Erhan Keseli
2026-04-25 14:20:15 +02:00
parent 80024f08c7
commit 5d5b8e36a8

8
install.sh Normal file → Executable file
View File

@@ -2,9 +2,9 @@
# Helmut installer — installs the Helmut skill for Claude Code and/or the Codex prompt.
#
# Usage:
# curl -fsSL https://git.epod.dev/erhan/helmut/main/install.sh | bash
# curl -fsSL https://git.epod.dev/erhan/helmut/main/install.sh | bash -s -- --claude-only
# curl -fsSL https://git.epod.dev/erhan/helmut/main/install.sh | bash -s -- --codex-only
# curl -fsSL https://git.epod.dev/erhan/helmut/raw/branch/main/install.sh | bash
# curl -fsSL https://git.epod.dev/erhan/helmut/raw/branch/main/install.sh | bash -s -- --claude-only
# curl -fsSL https://git.epod.dev/erhan/helmut/raw/branch/main/install.sh | bash -s -- --codex-only
set -euo pipefail
@@ -38,7 +38,7 @@ done
# Source this repo. When piped via curl, default to the canonical raw URL.
# Override with HELMUT_RAW_BASE for forks / mirrors.
RAW_BASE="${HELMUT_RAW_BASE:-https://git.epod.dev/erhan/helmut/main}"
RAW_BASE="${HELMUT_RAW_BASE:-https://git.epod.dev/erhan/helmut/raw/branch/main/}"
fetch() {
local url="$1"