From 2812f75c0b99304618141cdea2c80c126c83cbf3 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 26 May 2024 19:13:22 -0700 Subject: [PATCH] Simplify confirmation --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index a3361ac..f7c2d45 100644 --- a/install.sh +++ b/install.sh @@ -9,7 +9,7 @@ sudo apt install -y curl git for script in ~/.omakub/install/*.sh; do source $script; done # Reboot to pickup changes -read -p "Ready to reboot the system for all settings to take effect? (YES/no): " response -if [[ -z "$response" || "$response" =~ ^[Yy][Ee][Ss]$ || "$response" =~ ^[Yy]$ ]]; then +read -p "Ready to reboot the system for all settings to take effect? [Y/n]: " response +if [[ -z "$response" || "$response" =~ ^[Yy]$ ]]; then sudo reboot fi