LARBS/testing/fullreset.sh
2019-01-27 16:03:21 -05:00

3 lines
159 B
Bash
Executable file

#!/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)