Revert "Simplify the migration"

This reverts commit 37b60e5505.
This commit is contained in:
David Heinemeier Hansson
2026-04-30 17:28:15 +02:00
parent 91af40fd7c
commit 0a57fae591
+10 -3
View File
@@ -1,7 +1,14 @@
echo "Replace coterie of individual Elephant packages with the single elephant-all package"
if omarchy-pkg-present omarchy-walker; then
omarchy-pkg-drop omarchy-walker
omarchy-pkg-add walker elephant-all
omarchy-restart-walker
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 walker elephant elephant-all
omarchy-restart-walker