From 38d22a12393039103f7d2f5c082fed8af8231a07 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Fri, 2 Dec 2022 14:25:27 +0000 Subject: [PATCH] Update .local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_before_90-install-packages.tmpl --- .../universal/run_onchange_before_90-install-packages.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_before_90-install-packages.tmpl b/.local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_before_90-install-packages.tmpl index abfdc322..778eb63e 100644 --- a/.local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_before_90-install-packages.tmpl +++ b/.local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_before_90-install-packages.tmpl @@ -3,13 +3,13 @@ {{- includeTemplate "universal/profile" }} {{- includeTemplate "universal/logg" }} -# software: {{ index .softwareGroups .host.softwareGroup | join " " }} +# software: {{ index .softwareGroups .host.softwareGroup | join " " | replace "[" "" | replace "]" "" }} if command -v install-program > /dev/null; then if command -v zx > /dev/null; then logg 'Installing packages defined in .chezmoidata.yaml under the .softwareGroups key' logg 'Installing: {{ index .softwareGroups .host.softwareGroup | join " " }}' - install-program {{ index .softwareGroups .host.softwareGroup | join " " }} + install-program {{ index .softwareGroups .host.softwareGroup | join " " | replace "[" "" | replace "]" "" }} else logg error '`zx` is not available' fi