Update file run_onchange_after_12-install-packages.tmpl

This commit is contained in:
Brian Zalewski 2022-12-25 09:43:39 +00:00
parent 58bcd03cd4
commit a249a2caee

View file

@ -14,6 +14,10 @@ if command -v install-program > /dev/null; then
# Ask for the administrator password upfront # Ask for the administrator password upfront
logg info 'A sudo password may be required for some of the installations' logg info 'A sudo password may be required for some of the installations'
sudo echo "Sudo access granted." sudo echo "Sudo access granted."
if ! command -v pipx > /dev/null && [ -f "$HOME/.bashrc" ]; then
logg info 'Sourcing ~/.bashrc to ensure PATHs are set up correctly'
. "$HOME/.bashrc"
fi
install-program {{ index .softwareGroups $softwareGroup | toString | replace "[" "" | replace "]" "" }} install-program {{ index .softwareGroups $softwareGroup | toString | replace "[" "" | replace "]" "" }}
else else
logg error '`zx` is not available' logg error '`zx` is not available'