summaryrefslogtreecommitdiff
path: root/chcleanup
blob: a89332080b41b9080af59417e278dcc4eafbe06e (plain)
1
2
3
4
5
6
7
#!/bin/bash

[ ! -f ~/cleansystem ] && exit 1

sudo pacman --noconfirm -Rcs $(comm -23 <(pacman -Qq | sort) <(sort /etc/libretools.d/cleansystem))

exit $?