From 7d4aea285571e575474be0a94d9d8eeed9b1f9fa Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Mon, 28 Nov 2022 01:43:52 +0000 Subject: [PATCH] Update dotfiles/.local/share/chezmoi/home/.chezmoiscripts/_universal/run_onchange_before_90-install-packages.tmpl --- .../_universal/run_onchange_before_90-install-packages.tmpl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dotfiles/.local/share/chezmoi/home/.chezmoiscripts/_universal/run_onchange_before_90-install-packages.tmpl b/dotfiles/.local/share/chezmoi/home/.chezmoiscripts/_universal/run_onchange_before_90-install-packages.tmpl index ac9d11c2..21af022d 100644 --- a/dotfiles/.local/share/chezmoi/home/.chezmoiscripts/_universal/run_onchange_before_90-install-packages.tmpl +++ b/dotfiles/.local/share/chezmoi/home/.chezmoiscripts/_universal/run_onchange_before_90-install-packages.tmpl @@ -3,12 +3,13 @@ {{- includeTemplate "universal/profile" }} {{- includeTemplate "universal/logg" }} -# software: {{ join (index .softwareGroups .host.softwareGroup) " " }} +# software: {{ index .softwareGroups .host.softwareGroup | join " " }} if command -v install-software > /dev/null; then if command -v zx > /dev/null; then logg 'Installing packages defined in .chezmoidata.yaml under the .softwareGroups key' - zx install-software {{ join (index .softwareGroups .host.softwareGroup) " " }} + logg 'Installing: {{ index .softwareGroups .host.softwareGroup | join " " }}' + zx install-software {{ index .softwareGroups .host.softwareGroup | join " " }} else logg error '`zx` is not available' fi