Update dotfiles/.local/share/chezmoi/home/.chezmoiscripts/archlinux/run_onchange_before_10_install-archlinux-packages.tmpl

This commit is contained in:
Brian Zalewski 2022-11-24 12:11:22 +00:00
parent d8787b4e0f
commit f4ed7e62c3

View file

@ -1,3 +1,4 @@
{{ if eq .host.distro.id "arch" }}
#!/usr/bin/env bash #!/usr/bin/env bash
{{- $packages := splitList " " (includeTemplate "universal/essential-packages" .) }} {{- $packages := splitList " " (includeTemplate "universal/essential-packages" .) }}
@ -13,3 +14,4 @@
{{- end }} {{- end }}
sudo packan -Sy --noconfirm --needed {{ $packages | sortAlpha | uniq | join " " -}} sudo packan -Sy --noconfirm --needed {{ $packages | sortAlpha | uniq | join " " -}}
{{ end }}