13 lines
451 B
Bash
13 lines
451 B
Bash
#!/usr/bin/env bash
|
|
|
|
{{- includeTemplate "universal/profile" }}
|
|
{{- includeTemplate "universal/logg" }}
|
|
|
|
# software: {{ join (get .softwareGroups .host.softwareGroup) " " }}
|
|
|
|
if command -v install-software > /dev/null; then
|
|
logg 'Installing packages defined in .chezmoidata.yaml under the .softwareGroups key'
|
|
install-software {{ join (index .softwareGroups .host.softwareGroup) " " }}
|
|
else
|
|
logg error '`install-software` is not in the PATH'
|
|
fi
|