Use real origin remote URL in install.sh
The curl|bash bootstrap was cloning the <you> GitHub placeholder, which 404'd. Point REPO_URL (and the usage comments) at the actual Gitea origin. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -4,14 +4,14 @@
|
||||
# Idempotent: safe to re-run.
|
||||
#
|
||||
# Usage:
|
||||
# git clone https://github.com/<you>/dotfiles ~/dotfiles && cd ~/dotfiles && ./install.sh
|
||||
# git clone https://git.nic-oconnor.com/noconnor/dotfiles.git ~/dotfiles && cd ~/dotfiles && ./install.sh
|
||||
# or:
|
||||
# curl -fsSL https://raw.githubusercontent.com/<you>/dotfiles/main/install.sh | bash
|
||||
# curl -fsSL https://git.nic-oconnor.com/noconnor/dotfiles/raw/branch/main/install.sh | bash
|
||||
# (the curl form will git clone this repo to ~/dotfiles before running.)
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
REPO_URL="${DOTFILES_REPO:-https://github.com/<you>/dotfiles}"
|
||||
REPO_URL="${DOTFILES_REPO:-https://git.nic-oconnor.com/noconnor/dotfiles.git}"
|
||||
DOTFILES_DIR="${DOTFILES_DIR:-$HOME/dotfiles}"
|
||||
|
||||
log() { printf '\033[1;34m==>\033[0m %s\n' "$*"; }
|
||||
|
||||
Reference in New Issue
Block a user