verwaiste-packete-entfernen
This commit is contained in:
parent
f1151f1faa
commit
7021eadcd3
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue