mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Default to the new stable mirror
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/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
|
# Configure pacman
|
||||||
sudo cp -f ~/.local/share/omarchy/default/pacman/pacman.conf /etc/pacman.conf
|
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
|
if lspci -nn | grep -q "106b:180[12]"; then
|
||||||
cat <<EOF | sudo tee -a /etc/pacman.conf >/dev/null
|
cat <<EOF | sudo tee -a /etc/pacman.conf >/dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user