4 lines
160 B
Bash
4 lines
160 B
Bash
|
#!/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))
|