{{- 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 -}}
