mirror of
https://github.com/basecamp/omarchy.git
synced 2026-01-09 05:10:54 +08:00
Default to the new stable mirror
This commit is contained in:
parent
c6918e637b
commit
2425f4d3e0
@ -1,3 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
sudo cp -f ~/.local/share/omarchy/default/pacman/mirrorlist /etc/pacman.d/mirrorlist
|
||||
if [[ $1 == "edge" ]]; then
|
||||
sudo cp -f ~/.local/share/omarchy/default/pacman/mirrorlist-edge /etc/pacman.d/mirrorlist
|
||||
else
|
||||
sudo cp -f ~/.local/share/omarchy/default/pacman/mirrorlist-stable /etc/pacman.d/mirrorlist
|
||||
fi
|
||||
|
||||
@ -1,3 +0,0 @@
|
||||
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
|
||||
1
default/pacman/mirrorlist-edge
Normal file
1
default/pacman/mirrorlist-edge
Normal file
@ -0,0 +1 @@
|
||||
Server = https://mirror.omarchy.org/$repo/os/$arch
|
||||
1
default/pacman/mirrorlist-stable
Normal file
1
default/pacman/mirrorlist-stable
Normal file
@ -0,0 +1 @@
|
||||
Server = https://stable-mirror.omarchy.org/$repo/os/$arch
|
||||
@ -1,6 +1,6 @@
|
||||
# Configure pacman
|
||||
sudo cp -f ~/.local/share/omarchy/default/pacman/pacman.conf /etc/pacman.conf
|
||||
sudo cp -f ~/.local/share/omarchy/default/pacman/mirrorlist /etc/pacman.d/mirrorlist
|
||||
sudo cp -f ~/.local/share/omarchy/default/pacman/mirrorlist-stable /etc/pacman.d/mirrorlist
|
||||
|
||||
if lspci -nn | grep -q "106b:180[12]"; then
|
||||
cat <<EOF | sudo tee -a /etc/pacman.conf >/dev/null
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user