fix: correct raw file URL paths for Gitea
This commit is contained in:
8
install.sh
Normal file → Executable file
8
install.sh
Normal file → Executable file
@@ -2,9 +2,9 @@
|
|||||||
# Helmut installer — installs the Helmut skill for Claude Code and/or the Codex prompt.
|
# Helmut installer — installs the Helmut skill for Claude Code and/or the Codex prompt.
|
||||||
#
|
#
|
||||||
# Usage:
|
# Usage:
|
||||||
# curl -fsSL https://git.epod.dev/erhan/helmut/main/install.sh | bash
|
# curl -fsSL https://git.epod.dev/erhan/helmut/raw/branch/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/raw/branch/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 -s -- --codex-only
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
@@ -38,7 +38,7 @@ done
|
|||||||
|
|
||||||
# Source this repo. When piped via curl, default to the canonical raw URL.
|
# Source this repo. When piped via curl, default to the canonical raw URL.
|
||||||
# Override with HELMUT_RAW_BASE for forks / mirrors.
|
# 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() {
|
fetch() {
|
||||||
local url="$1"
|
local url="$1"
|
||||||
|
|||||||
Reference in New Issue
Block a user