diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-02-24 18:50:44 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-02-24 18:50:44 -0300 |
commit | 2f7e3155e766e552f53dbadab18f4e2aff824cd4 (patch) | |
tree | bfbb0ed11002990eaf322b9e6bf5b6d375d5b867 /chcleanup | |
parent | 7506b06cb81951a4705908f6bfe93f81d50667a7 (diff) |
Informe removed packages
Diffstat (limited to 'chcleanup')
-rwxr-xr-x | chcleanup | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -2,6 +2,10 @@ [ ! -f ~/cleansystem ] && exit 1 -sudo pacman --noconfirm -Rcs $(comm -23 <(pacman -Qq | sort) <(sort /etc/libretools.d/cleansystem)) +packages=($(comm -23 <(pacman -Qq | sort) <(sort /etc/libretools.d/cleansystem))) + +echo "Removing: ${packages[@]}" + +sudo pacman --noconfirm -Rcs ${packages[@]} exit $? |