Update .local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_before_90-install-packages.tmpl
This commit is contained in:
parent
d47a05bc57
commit
ce25ced49b
1 changed files with 3 additions and 0 deletions
|
@ -9,6 +9,9 @@ if command -v install-program > /dev/null; then
|
|||
if command -v zx > /dev/null; then
|
||||
logg info 'Installing packages defined in .chezmoidata.yaml under the .softwareGroups key'
|
||||
logg info 'Installing: {{ index .softwareGroups .host.softwareGroup | toString | replace "[" "" | replace "]" "" }}'
|
||||
# Ask for the administrator password upfront
|
||||
logg info 'A sudo password may be required for some of the installations'
|
||||
sudo -v
|
||||
install-program {{ index .softwareGroups .host.softwareGroup | toString | replace "[" "" | replace "]" "" }}
|
||||
else
|
||||
logg error '`zx` is not available'
|
||||
|
|
Loading…
Reference in a new issue