dotfiles/.chezmoiscripts/run_once_before_00-chaotic-aur.sh.tmpl
2024-04-22 20:20:03 -07:00

11 lines
518 B
Cheetah

{{- if eq .osid "linux-arch" -}}
#!/usr/bin/env bash
sudo pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com
sudo pacman-key --lsign-key 3056513887B78AEB
sudo pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst'
sudo pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst'
printf '%b' "[chaotic-aur]\nInclude = /etc/pacman.d/chaotic-mirrorlist" | copyq copy -
echo 'Please paste in /etc/pacman.conf then run sudo pacman -Sy'
{{- end -}}