Update .config/packages/arch-packages.fish
This commit is contained in:
parent
a0155ea938
commit
17fff51c84
1 changed files with 6 additions and 5 deletions
|
@ -26,12 +26,13 @@ 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 }}
|
{{ if eq .chezmoi.hostname "archgirlie" -}}
|
||||||
{{ range .packages.arch -}}
|
{{ range .packages.arch.archgirlie -}}
|
||||||
{{ if eq $host . -}}
|
|
||||||
{{ range . -}}
|
|
||||||
yay -S --needed - <{{ . }}
|
yay -S --needed - <{{ . }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
{{ else if eq .chezmoi.hostname "archbaby" -}}
|
||||||
|
{{ range .packages.arch.archbaby -}}
|
||||||
|
yay -S --needed - <{{ . }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue