Update .config/packages/arch-packages.fish

This commit is contained in:
punkfairie 2024-06-20 17:47:02 -07:00
parent bca2de695f
commit a0155ea938
Signed by: punkfairie
GPG key ID: A86AF57F837E320F

View file

@ -26,8 +26,9 @@ if ! test "{{ .chezmoi.hostname }}" = "$file"
set_color yellow && echo "Package list has changed, reinstalling..." set_color yellow && echo "Package list has changed, reinstalling..."
yay -S --needed - <~/.config/packages/arch yay -S --needed - <~/.config/packages/arch
{{ $host := .chezmoi.hostname }}
{{ range .packages.arch -}} {{ range .packages.arch -}}
{{ if eq .chezmoi.hostname (. | quote ) -}} {{ if eq $host . -}}
{{ range . -}} {{ range . -}}
yay -S --needed - <{{ . }} yay -S --needed - <{{ . }}
{{ end -}} {{ end -}}