dotfiles/.chezmoiscripts/run_once_before_00-aur.sh.tmpl

13 lines
238 B
Cheetah
Raw Normal View History

{{- if (and (eq .osid "linux-arch") (not (lookPath "yay"))) -}}
2024-04-20 13:52:19 -07:00
#!/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 -}}