fullreset script

This commit is contained in:
Luke Smith 2019-01-13 15:33:12 -05:00
parent d93881bac7
commit 376860489a
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

3
testing/fullreset.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
pacman -S --needed pacman-contrib
pacman -R $(comm -23 <(pacman -Qq | sort) <((for i in $(pacman -Qqg base); do pactree -ul "$i"; done) | sort -u))