1
0
This commit is contained in:
Jeff Lance 2024-02-27 21:46:10 +01:00
parent 31c4005b3f
commit 8c71f78347

View File

@ -17,13 +17,13 @@ set -euxo pipefail
if [ ! $(command -v yay) ]; then if [ ! $(command -v yay) ]; then
echo "installing yay" echo "installing yay"
{{ range .packages_base.archlinux.pacman -}} {{ range .packages_base.archlinux.pacman }}
{{- if ne .chezmoi.username "root" }} {{- if ne .chezmoi.username "root" }}
sudo pacman -S --needed --noconfirm {{ . | quote }} sudo pacman -S --needed --noconfirm {{ . | quote }}
{{- else}} {{- else}}
pacman -S --needed --noconfirm {{ . | quote }} pacman -S --needed --noconfirm {{ . | quote }}
{{- end }} {{- end }}
{{ end -}} {{ end }}
git clone https://aur.archlinux.org/yay.git /tmp/yay git clone https://aur.archlinux.org/yay.git /tmp/yay
cd /tmp/yay cd /tmp/yay