diff options
Diffstat (limited to 'chcleanup')
-rwxr-xr-x | chcleanup | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/chcleanup b/chcleanup deleted file mode 100755 index 7074b84..0000000 --- a/chcleanup +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -[ ! -f /etc/libretools.d/cleansystem ] && exit 1 - -packages=($(comm -23 <(pacman -Qq | sort) <(sort /etc/libretools.d/cleansystem))) - -echo "Removing: ${packages[@]}" - -sudo pacman --noconfirm -Rcs ${packages[@]} - -exit $? |