Update .config/packages/arch-packages.fish
This commit is contained in:
parent
bca2de695f
commit
a0155ea938
1 changed files with 2 additions and 1 deletions
|
@ -26,8 +26,9 @@ if ! test "{{ .chezmoi.hostname }}" = "$file"
|
|||
set_color yellow && echo "Package list has changed, reinstalling..."
|
||||
yay -S --needed - <~/.config/packages/arch
|
||||
|
||||
{{ $host := .chezmoi.hostname }}
|
||||
{{ range .packages.arch -}}
|
||||
{{ if eq .chezmoi.hostname (. | quote ) -}}
|
||||
{{ if eq $host . -}}
|
||||
{{ range . -}}
|
||||
yay -S --needed - <{{ . }}
|
||||
{{ end -}}
|
||||
|
|
Loading…
Reference in a new issue