From eca926b5a4bc7048a300805a81ef23cac0191415 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 30 Apr 2026 17:30:40 +0200 Subject: [PATCH] Reapply "Replace coterie of individual Elephant packages with the single elephant-all package" This reverts commit 8ff1208bdd3d50a8ae26dc88c4d0ac1b04ea379c. --- migrations/1777542438.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 migrations/1777542438.sh diff --git a/migrations/1777542438.sh b/migrations/1777542438.sh new file mode 100644 index 00000000..0b9a52b8 --- /dev/null +++ b/migrations/1777542438.sh @@ -0,0 +1,14 @@ +echo "Replace coterie of individual Elephant packages with the single elephant-all package" + +if omarchy-pkg-present omarchy-walker; then + sudo pacman -R --noconfirm omarchy-walker +fi + +mapfile -t elephant_packages < <(pacman -Qq | grep '^elephant-' | grep -v '^elephant-all$' || true) + +if (( ${#elephant_packages[@]} > 0 )); then + sudo pacman -Rns --noconfirm "${elephant_packages[@]}" +fi + +omarchy-pkg-add elephant-all +omarchy-restart-walker