mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
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:
@ -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
|
||||||
|
Reference in New Issue
Block a user