Part of repository setup
This commit is contained in:
parent
0a0843c7ec
commit
b9758a9c8c
@ -10,7 +10,6 @@ OMARCHY_INSTALL=~/.local/share/omarchy/install
|
||||
source $OMARCHY_INSTALL/preflight/show-env.sh
|
||||
source $OMARCHY_INSTALL/preflight/trap-errors.sh
|
||||
source $OMARCHY_INSTALL/preflight/chroot.sh
|
||||
source $OMARCHY_INSTALL/preflight/mirrorlist.sh
|
||||
source $OMARCHY_INSTALL/preflight/guard.sh
|
||||
source $OMARCHY_INSTALL/preflight/repositories.sh
|
||||
source $OMARCHY_INSTALL/preflight/migrations.sh
|
||||
|
@ -1,5 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Set mirror to single geo setup
|
||||
echo 'Server = https://geo.mirror.pkgbuild.com/$repo/os/$arch' |
|
||||
sudo tee /etc/pacman.d/mirrorlist >/dev/null
|
@ -13,6 +13,10 @@ if ! grep -q "omarchy" /etc/pacman.conf; then
|
||||
sudo sed -i '/^\[core\]/i [omarchy]\nSigLevel = Optional TrustAll\nServer = https:\/\/pkgs.omarchy.org\/$arch\/\n' /etc/pacman.conf
|
||||
fi
|
||||
|
||||
# Set mirrors to global ones only
|
||||
echo "Server = https://geo.mirror.pkgbuild.com/\$repo/os/\$arch\nServer = https://mirror.rackspace.com/archlinux/\$repo/os/\$arch" |
|
||||
sudo tee /etc/pacman.d/mirrorlist >/dev/null
|
||||
|
||||
# Install yay from Omarchy repository
|
||||
sudo pacman -Sy --needed --noconfirm yay
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user