Add single server for mirrorlist for now
This commit is contained in:
parent
87045ef128
commit
7721a0efca
@ -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
|
||||
|
8
install/preflight/mirrorlist.sh
Normal file
8
install/preflight/mirrorlist.sh
Normal 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
|
Loading…
x
Reference in New Issue
Block a user