Run upgrade last to delay popover about restarting

This commit is contained in:
David Heinemeier Hansson 2024-06-03 19:16:56 -07:00
parent 9b08be176e
commit 32ae3b138f

View File

@ -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