mirror of
https://github.com/LukeHagar/omarchy.git
synced 2025-12-09 20:47:48 +00:00
Move OPR behind Arch default repos (#1229)
* Move OPR behind Arch default repos * No longer first
This commit is contained in:
committed by
GitHub
parent
6e3d023fee
commit
30ad634349
@@ -8,9 +8,9 @@ if ! grep -q "ILoveCandy" /etc/pacman.conf; then
|
||||
sudo sed -i '/^\[options\]/a Color\nILoveCandy\nVerbosePkgLists' /etc/pacman.conf
|
||||
fi
|
||||
|
||||
# Add the Omarchy repository as first choice
|
||||
# Add the Omarchy repository
|
||||
if ! grep -q "omarchy" /etc/pacman.conf; then
|
||||
sudo sed -i '/^\[core\]/i [omarchy]\nSigLevel = Optional TrustAll\nServer = https:\/\/pkgs.omarchy.org\/$arch\/\n' /etc/pacman.conf
|
||||
echo -e '\n[omarchy]\nSigLevel = Optional TrustAll\nServer = https:\/\/pkgs.omarchy.org\/$arch\/\n' | sudo tee -a /etc/pacman.conf >/dev/null
|
||||
fi
|
||||
|
||||
# Set mirrors to global ones only
|
||||
|
||||
6
migrations/1756360551.sh
Normal file
6
migrations/1756360551.sh
Normal 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'
|
||||
Reference in New Issue
Block a user