mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
Reapply "Replace coterie of individual Elephant packages with the single elephant-all package"
This reverts commit 8ff1208bdd.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user