Add single server for mirrorlist for now

This commit is contained in:
David Heinemeier Hansson 2025-08-19 15:44:33 +02:00
parent 87045ef128
commit 7721a0efca
2 changed files with 9 additions and 5 deletions

View File

@ -39,12 +39,8 @@ show_subtext() {
echo
}
# Update indexes if online
if ping -c5 omarchy.org &>/dev/null; then
yay -Syy
fi
# Install prerequisites
source $OMARCHY_INSTALL/preflight/mirrorlist.sh
source $OMARCHY_INSTALL/preflight/gum.sh
source $OMARCHY_INSTALL/preflight/guard.sh
source $OMARCHY_INSTALL/preflight/aur.sh

View File

@ -0,0 +1,8 @@
# Set mirror to single geo setup
echo 'Server = https://geo.mirror.pkgbuild.com/$repo/os/$arch' |
sudo tee /etc/pacman.d/mirrorlist >/dev/null
# Update indexes if online
if ping -c5 omarchy.org &>/dev/null; then
yay -Syy
fi