LARBS/testing/fullreset.sh
2019-01-13 15:33:12 -05:00

4 lines
160 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))