mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Drop Chaotic-AUR repository now that we have OPR (#1264)
* Drop Chaotic AUR repo Now that we have the AUR packages we need on the OPR, we don't need this as a default. * Fix escape issue and rename so it will run again
This commit is contained in:
committed by
GitHub
parent
f16908d701
commit
a21ace2ee7
@@ -1,18 +0,0 @@
|
||||
echo "Add Chaotic-AUR to get compiled binaries"
|
||||
|
||||
if [[ "$(uname -m)" == "x86_64" ]] && ! grep -q '^\[chaotic-aur\]' /etc/pacman.conf; then
|
||||
# Try installing Chaotic-AUR keyring and mirrorlist
|
||||
if sudo pacman-key --recv-key 3056513887B78AEB &&
|
||||
sudo pacman-key --lsign-key 3056513887B78AEB &&
|
||||
sudo pacman -U --noconfirm 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst' &&
|
||||
sudo pacman -U --noconfirm 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst'; then
|
||||
|
||||
# Add Chaotic-AUR repo to pacman config
|
||||
echo -e '\n[chaotic-aur]\nInclude = /etc/pacman.d/chaotic-mirrorlist' | sudo tee -a /etc/pacman.conf >/dev/null
|
||||
|
||||
# Refresh pacman package databases
|
||||
sudo pacman -Syu --noconfirm
|
||||
else
|
||||
echo "Failed to install Chaotic-AUR, so won't include it in pacman config!"
|
||||
fi
|
||||
fi
|
||||
@@ -1,6 +0,0 @@
|
||||
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'
|
||||
7
migrations/1756360552.sh
Normal file
7
migrations/1756360552.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
echo "Move Omarchy Package Repository after Arch core/extra/multilib and remove AUR"
|
||||
|
||||
sudo cp /etc/pacman.conf /etc/pacman.conf.bak
|
||||
sudo sed -i '/\[omarchy\]/,+2 d' /etc/pacman.conf
|
||||
sudo sed -i '/\[chaotic-aur\]/,+2 d' /etc/pacman.conf
|
||||
sudo bash -c 'echo -e "\n[omarchy]\nSigLevel = Optional TrustAll\nServer = https://pkgs.omarchy.org/\$arch/" >> /etc/pacman.conf'
|
||||
sudo pacman -Syu --noconfirm
|
||||
Reference in New Issue
Block a user