diff --git a/dotfiles/.local/share/chezmoi/home/.chezmoiscripts/archlinux/run_onchange_before_10_install-archlinux-packages.tmpl b/dotfiles/.local/share/chezmoi/home/.chezmoiscripts/archlinux/run_onchange_before_10_install-archlinux-packages.tmpl index 7eb21311..8a44f0e6 100644 --- a/dotfiles/.local/share/chezmoi/home/.chezmoiscripts/archlinux/run_onchange_before_10_install-archlinux-packages.tmpl +++ b/dotfiles/.local/share/chezmoi/home/.chezmoiscripts/archlinux/run_onchange_before_10_install-archlinux-packages.tmpl @@ -1,3 +1,4 @@ +{{ if eq .host.distro.id "arch" }} #!/usr/bin/env bash {{- $packages := splitList " " (includeTemplate "universal/essential-packages" .) }} @@ -13,3 +14,4 @@ {{- end }} sudo packan -Sy --noconfirm --needed {{ $packages | sortAlpha | uniq | join " " -}} +{{ end }}