Extract pkg cmd abstractions and clean up all migrations (#1291)

* No using custom chromium.desktop any more

* Spacing

* Rely on $OMARCHY_PATH

* Add common pkg and cmd functions for use in migrations and elsewhere

* Simple pkg-adds

* Later migration does it

* Ensure running migrations on older installs have the new pkg/cmds available

* Spacing

* Use new abstractions

* Installed in later migration

* Needless comment

* Use new commands

* Fix package name from 'batt' to 'bat'
This commit is contained in:
David Heinemeier Hansson
2025-08-30 07:41:05 +02:00
committed by GitHub
parent 4f6f92b2cc
commit a3c5e589f6
65 changed files with 132 additions and 153 deletions

View File

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