diff --git a/install.sh b/install.sh index c340ba2..856f9bb 100644 --- a/install.sh +++ b/install.sh @@ -3,7 +3,6 @@ source ~/.local/share/omakub/ascii.sh # Needed for all installers sudo apt update -y -sudo apt upgrade -y sudo apt install -y curl git # Ensure computer doesn't go to sleep while installing @@ -15,5 +14,8 @@ for script in ~/.local/share/omakub/install/*.sh; do source $script; done # Revert to normal idle settings gsettings set org.gnome.desktop.session idle-delay 300 +# Upgrade everything that might ask for a reboot last +sudo apt upgrade -y + # Reboot to pickup changes gum confirm "Ready to logout for all settings to take effect?" && gnome-session-quit --logout --no-prompt