In case one package doesn't want to go, do it yourself

This commit is contained in:
David Heinemeier Hansson 2025-08-25 12:02:38 +02:00
parent e3bda8a970
commit b5ced14972

View File

@ -16,6 +16,8 @@ fi
orphans=$(pacman -Qtdq)
if [[ -n $orphans ]]; then
echo -e "\e[32m\nRemove orphan system packages\e[0m"
sudo pacman -Rs --noconfirm "$orphans"
for pkg in $orphans; do
sudo pacman -Rs --noconfirm "$pkg" || true
done
echo
fi