Only do system package updates if there is a network connection
This prepares us for offline ISO install
This commit is contained in:
1 parent
1b69700999
commit
d5ee754538
1 file changed
+5
-1
+5
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user