Update .local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_before_90-install-packages.tmpl

This commit is contained in:
Brian Zalewski 2022-12-02 18:02:58 +00:00
parent 40ab5ea6a8
commit 03766d2739

View file

@ -11,7 +11,7 @@ if command -v install-program > /dev/null; then
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
sudo echo "Sudo access granted."
install-program {{ index .softwareGroups .host.softwareGroup | toString | replace "[" "" | replace "]" "" }}
else
logg error '`zx` is not available'