diff --git a/arch-graphical-install-auto b/arch-graphical-install-auto index 0ad28a6..87e6355 100755 --- a/arch-graphical-install-auto +++ b/arch-graphical-install-auto @@ -712,6 +712,12 @@ if [ "$version" != "lite" ]; then fi +if pacman -Qdtq; then + echo "Verwaiste Packete werden entfernt :)" + pacman -Rsn $(pacman -Qdtq) --noconfirm +else + echo "Es müssen keine verwaisten Packete entfernt werden :)" +fi pacman -Syu --needed --noconfirm if [ "${version}" == "libre" ]; then