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

12 lines
238 B
Cheetah

{{- if (and (eq .osid "linux-arch") (not (lookPath "yay"))) -}}
#!/usr/bin/env bash
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin
makepkg -si
cd ..
rm -rf yay-bin
yay -Syu
{{- end -}}