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