mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Easier to read
This commit is contained in:
@@ -14,8 +14,11 @@ if ! grep -q "omarchy" /etc/pacman.conf; then
|
||||
fi
|
||||
|
||||
# Set mirrors to global ones only
|
||||
echo -e "Server = https://mirror.omarchy.org/\$repo/os/\$arch\nServer = https://mirror.rackspace.com/archlinux/\$repo/os/\$arch\nServer = https://geo.mirror.pkgbuild.com/\$repo/os/\$arch" |
|
||||
sudo tee /etc/pacman.d/mirrorlist >/dev/null
|
||||
sudo tee /etc/pacman.d/mirrorlist >/dev/null <<'EOF'
|
||||
Server = https://mirror.omarchy.org/$repo/os/$arch
|
||||
Server = https://mirror.rackspace.com/archlinux/$repo/os/$arch
|
||||
Server = https://geo.mirror.pkgbuild.com/$repo/os/$arch
|
||||
EOF
|
||||
|
||||
# Refresh all repos
|
||||
sudo pacman -Syu --noconfirm
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
echo "Use new Omarchy mirror as default"
|
||||
|
||||
echo -e "Server = https://mirror.omarchy.org/\$repo/os/\$arch\nServer = https://mirror.rackspace.com/archlinux/\$repo/os/\$arch\nServer = https://geo.mirror.pkgbuild.com/\$repo/os/\$arch" |
|
||||
sudo tee /etc/pacman.d/mirrorlist >/dev/null
|
||||
sudo tee /etc/pacman.d/mirrorlist >/dev/null <<'EOF'
|
||||
Server = https://mirror.omarchy.org/$repo/os/$arch
|
||||
Server = https://mirror.rackspace.com/archlinux/$repo/os/$arch
|
||||
Server = https://geo.mirror.pkgbuild.com/$repo/os/$arch
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user