sunhat/install.sh
David Heinemeier Hansson 2812f75c0b Simplify confirmation
2024-05-26 19:13:22 -07:00

16 lines
413 B
Bash

# Libraries and infrastructure
echo -e "\e[32mINSTALLING OMAKUB\e[0m"
# Needed for all installers
sudo apt update -y
sudo apt install -y curl git
# Run installers
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? [Y/n]: " response
if [[ -z "$response" || "$response" =~ ^[Yy]$ ]]; then
sudo reboot
fi