diff --git a/migrations/1777542438.sh b/migrations/1777542438.sh index 8b1e17cc..b15596df 100644 --- a/migrations/1777542438.sh +++ b/migrations/1777542438.sh @@ -1,14 +1,7 @@ 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 + omarchy-pkg-drop omarchy-walker + omarchy-pkg-add walker elephant-all + omarchy-restart-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