Simplify confirmation
This commit is contained in:
parent
c4dab0d63a
commit
2812f75c0b
@ -9,7 +9,7 @@ sudo apt install -y curl git
|
|||||||
for script in ~/.omakub/install/*.sh; do source $script; done
|
for script in ~/.omakub/install/*.sh; do source $script; done
|
||||||
|
|
||||||
# Reboot to pickup changes
|
# Reboot to pickup changes
|
||||||
read -p "Ready to reboot the system for all settings to take effect? (YES/no): " response
|
read -p "Ready to reboot the system for all settings to take effect? [Y/n]: " response
|
||||||
if [[ -z "$response" || "$response" =~ ^[Yy][Ee][Ss]$ || "$response" =~ ^[Yy]$ ]]; then
|
if [[ -z "$response" || "$response" =~ ^[Yy]$ ]]; then
|
||||||
sudo reboot
|
sudo reboot
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user