Can't actually update all packages before we are ready to reboot

Since kernel etc that needs a restart might have updated
This commit is contained in:
David Heinemeier Hansson
2025-07-22 18:06:38 -04:00
parent 2332a4f6db
commit 69e48758fd

View File

@ -12,8 +12,8 @@ catch_errors() {
trap catch_errors ERR trap catch_errors ERR
# Update all built-in packages # Update all package indexes
sudo pacman -Syu --noconfirm sudo pacman -Sy --noconfirm
# Install everything # Install everything
for f in ~/.local/share/omarchy/install/*.sh; do for f in ~/.local/share/omarchy/install/*.sh; do
@ -24,4 +24,7 @@ done
# Ensure locate is up to date now that everything has been installed # Ensure locate is up to date now that everything has been installed
sudo updatedb sudo updatedb
# Update all built-in packages
sudo pacman -Syu --noconfirm
gum confirm "Reboot to apply all settings?" && reboot gum confirm "Reboot to apply all settings?" && reboot