Move OPR behind Arch default repos (#1229)

* Move OPR behind Arch default repos

* No longer first
This commit is contained in:
David Heinemeier Hansson
2025-08-28 08:47:42 +02:00
committed by GitHub
parent 6e3d023fee
commit 30ad634349
2 changed files with 8 additions and 2 deletions

6
migrations/1756360551.sh Normal file
View File

@@ -0,0 +1,6 @@
echo "Move Omarchy Package Repository after Arch core/extra/multilib for extra security on resolution"
sudo cp /etc/pacman.conf /etc/pacman.conf.bak
sudo sed -i '/\[omarchy\]/,+2 d' /etc/pacman.conf
sudo sed -i '/\[chaotic-aur\]/i\[omarchy]\nSigLevel = Optional TrustAll\nServer = https://pkgs.omarchy.org/$arch/\n' /etc/pacman.conf ||
sudo bash -c 'echo -e "\n[omarchy]\nSigLevel = Optional TrustAll\nServer = https://pkgs.omarchy.org/$arch/" >> /etc/pacman.conf'