Reboot when done

This commit is contained in:
David Heinemeier Hansson 2024-05-26 15:51:46 -07:00
parent 8de7650b53
commit 5670aba806

View File

@ -21,3 +21,9 @@ sudo snap install code --classic
# Installers # Installers
echo -e "\e[32mRUNNING CUSTOM INSTALLERSe[0m" echo -e "\e[32mRUNNING CUSTOM INSTALLERSe[0m"
for script in ~/.omakub/install/*.sh; do source $script; done for script in ~/.omakub/install/*.sh; do source $script; done
# Reboot to pick up all settings
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
sudo reboot
fi