Files
omarchy/migrations/1756410649.sh
David Heinemeier Hansson 3e29949745 Only remove the key if it exists
2025-08-28 22:00:41 +02:00

14 lines
372 B
Bash

echo "Remove any Chaotic-AUR infrastructure packages"
if pacman -Q chaotic-keyring >/dev/null; then
sudo pacman -Rns --noconfirm chaotic-keyring
fi
if pacman -Q chaotic-mirrorlist >/dev/null; then
sudo pacman -Rns --noconfirm chaotic-mirrorlist
fi
if sudo pacman-key --list-keys 3056513887B78AEB >/dev/null 2>&1; then
sudo pacman-key --delete 3056513887B78AEB
fi