Only do system package updates if there is a network connection

This prepares us for offline ISO install
This commit is contained in:
David Heinemeier Hansson 2025-08-16 05:40:10 -05:00
parent 1b69700999
commit d5ee754538

View File

@ -80,7 +80,11 @@ source $OMARCHY_INSTALL/apps/mimetypes.sh
show_logo highlight
show_subtext "Updating system packages [5/5]"
sudo updatedb
yay -Syu --noconfirm --ignore uwsm
# Update system packages if we have a network connection
if ping -c1 omarchy.org &>/dev/null; then
yay -Syu --noconfirm --ignore uwsm
fi
# Reboot
show_logo laseretch 920