diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-02-04 13:17:05 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-02-04 13:17:05 -0300 |
commit | 3fb8e62b798c0dffb201727439a6a0d90bc1b20f (patch) | |
tree | f69c1b6db4082e9188f22be8d3d3d5cc5212f34f /chcleanup | |
parent | 5ab36af3c7a505ff40bb8ca46ec387b94d85cbdf (diff) | |
parent | 9808018ca09050ade144d0dfc0b0b6edadefa368 (diff) |
Merge branch 'master' of ssh://gparabola/libretools
Conflicts:
libremakepkg
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 $? |