dotfiles/.chezmoiscripts/run_once_before_00-chaotic-aur.sh.tmpl
punkfairie 0a6b2dfaaa
Update .chezmoiscripts/00-aur.sh
Update .chezmoiscripts/00-chaotic-aur.sh
2024-04-21 10:11:09 -07:00

11 lines
517 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 -}}