From f4ed7e62c3ea8a425c0c63591ef6a461a16d2c2c Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Thu, 24 Nov 2022 12:11:22 +0000 Subject: [PATCH] Update dotfiles/.local/share/chezmoi/home/.chezmoiscripts/archlinux/run_onchange_before_10_install-archlinux-packages.tmpl --- .../run_onchange_before_10_install-archlinux-packages.tmpl | 2 ++ 1 file changed, 2 insertions(+) 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 }}