mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Only do system package updates if there is a network connection
This prepares us for offline ISO install
This commit is contained in:
@@ -80,7 +80,11 @@ source $OMARCHY_INSTALL/apps/mimetypes.sh
|
|||||||
show_logo highlight
|
show_logo highlight
|
||||||
show_subtext "Updating system packages [5/5]"
|
show_subtext "Updating system packages [5/5]"
|
||||||
sudo updatedb
|
sudo updatedb
|
||||||
|
|
||||||
|
# Update system packages if we have a network connection
|
||||||
|
if ping -c1 omarchy.org &>/dev/null; then
|
||||||
yay -Syu --noconfirm --ignore uwsm
|
yay -Syu --noconfirm --ignore uwsm
|
||||||
|
fi
|
||||||
|
|
||||||
# Reboot
|
# Reboot
|
||||||
show_logo laseretch 920
|
show_logo laseretch 920
|
||||||
|
|||||||
Reference in New Issue
Block a user