Update file provision.sh

This commit is contained in:
Brian Zalewski 2023-01-25 12:33:17 +00:00
parent 7e152b0159
commit f07445bdce

View file

@ -183,9 +183,9 @@ logg() {
### Prompt for sudo password and (optionally) enable passwordless sudo
sudo -n true || SUDO_EXIT_CODE=$?
if [ -n "$SUDO_EXIT_CODE" ]; then
logg info 'Your user will temporarily be granted passwordless sudo for the duration of the script'
logg info 'Press `CTRL+C` to bypass this prompt. You will either enter your password when needed or perform a non-privileged installation'
logg info 'Note: Non-privileged installations are not yet supported - pull requests welcome'
echo 'Your user will temporarily be granted passwordless sudo for the duration of the script'
echo 'Press `CTRL+C` to bypass this prompt. You will either enter your password when needed or perform a non-privileged installation'
echo 'Note: Non-privileged installations are not yet supported - pull requests welcome'
echo "$(whoami) ALL=(ALL:ALL) NOPASSWD: ALL # TEMPORARY FOR INSTALL DOCTOR" | sudo tee -a /etc/sudoers
fi