diff --git a/install/preflight/repositories.sh b/install/preflight/repositories.sh index a0aab4b..9797aba 100755 --- a/install/preflight/repositories.sh +++ b/install/preflight/repositories.sh @@ -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 diff --git a/migrations/1756411333.sh b/migrations/1756411333.sh index b2c8c2c..220697a 100644 --- a/migrations/1756411333.sh +++ b/migrations/1756411333.sh @@ -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