diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2012-01-22 23:06:56 -0600 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2012-01-22 23:06:56 -0600 |
commit | 7a00f2a55b69c39ae8ebad99b3d91a509b614b1b (patch) | |
tree | 7ca94ca289c069374cac149545a86234270d8fe6 /chcleanup | |
parent | 825ac89cfa857e4379e9e1baf6d470cf9e583dde (diff) | |
parent | 0985429b68d8da1016bf4a84b2a2d32fb8c3027c (diff) |
Merge branch 'master' of gitpar:libretools
Diffstat (limited to 'chcleanup')
-rwxr-xr-x | chcleanup | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chcleanup b/chcleanup new file mode 100755 index 0000000..83c9f3f --- /dev/null +++ b/chcleanup @@ -0,0 +1,7 @@ +#!/bin/bash + +[ ! -f ~/cleansystem ] && exit 1 + +sudo pacman --noconfirm -Rcs $(comm -23 <(pacman -Qq | sort) <(sort ~/cleansystem)) + +exit $? |