sunhat/install.sh

16 lines
449 B
Bash
Raw Normal View History

2024-05-25 15:52:00 -05:00
# Libraries and infrastructure
2024-05-26 18:21:30 -05:00
echo -e "\e[32mINSTALLING OMAKUB\e[0m"
2024-05-25 15:52:00 -05:00
2024-05-26 18:21:30 -05:00
# Needed for all installers
sudo apt update -y
sudo apt install -y curl git
2024-05-25 15:52:00 -05:00
2024-05-26 18:21:30 -05:00
# Run installers
for script in ~/.omakub/install/*.sh; do source $script; done
2024-05-26 17:51:46 -05:00
2024-05-26 18:21:30 -05:00
# Reboot to pickup changes
2024-05-26 17:51:46 -05:00
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