This repository has been archived on 2021-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
2018-11-04 23:36:14 +00:00
|
|
|
#!/usr/bin/env bash
|
2019-01-08 13:01:43 +00:00
|
|
|
set -euf -o pipefail
|
2018-11-04 23:36:14 +00:00
|
|
|
|
|
|
|
pacman -Qdt
|
|
|
|
echo "Press ENTER to remove these orphaned packages or CTRL+C to cancel."
|
|
|
|
read -r
|
|
|
|
sudo pacman -Rsn "$(pacman -Qqdt)" --noconfirm
|