1
0
Fork 0

bootstrap: require chaotic-aur repo in pacman.conf for skip; topgrade cargo fallback

This commit is contained in:
Rain 2026-08-26 13:52:35 -04:00
parent 0bdaefcf97
commit 63106f5e3f
2 changed files with 9 additions and 4 deletions

View file

@ -21,8 +21,8 @@ die() { printf '\033[1;31m[chaotic ERROR]\033[0m %s\n' "$*" >&2; exit 1; }
# and pacman-key operations below.
{{ if eq .os_family "arch" -}}
if command -v paru >/dev/null 2>&1; then
log "paru already installed — skipping chaotic setup"
if command -v paru >/dev/null 2>&1 && sudo grep -q "^\[chaotic-aur\]" /etc/pacman.conf; then
log "chaotic-aur + paru already set up — skipping"
exit 0
fi