Update file run_onchange_after_12-install-packages.tmpl
This commit is contained in:
parent
58bcd03cd4
commit
a249a2caee
1 changed files with 4 additions and 0 deletions
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue