Run upgrade last to delay popover about restarting
This commit is contained in:
parent
9b08be176e
commit
32ae3b138f
@ -3,7 +3,6 @@ source ~/.local/share/omakub/ascii.sh
|
|||||||
|
|
||||||
# Needed for all installers
|
# Needed for all installers
|
||||||
sudo apt update -y
|
sudo apt update -y
|
||||||
sudo apt upgrade -y
|
|
||||||
sudo apt install -y curl git
|
sudo apt install -y curl git
|
||||||
|
|
||||||
# Ensure computer doesn't go to sleep while installing
|
# 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
|
# Revert to normal idle settings
|
||||||
gsettings set org.gnome.desktop.session idle-delay 300
|
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
|
# Reboot to pickup changes
|
||||||
gum confirm "Ready to logout for all settings to take effect?" && gnome-session-quit --logout --no-prompt
|
gum confirm "Ready to logout for all settings to take effect?" && gnome-session-quit --logout --no-prompt
|
||||||
|
Loading…
Reference in New Issue
Block a user