Update .local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_before_90-install-packages.tmpl
This commit is contained in:
parent
d1e99cb439
commit
38d22a1239
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue