summaryrefslogtreecommitdiff
path: root/sh/upd
diff options
context:
space:
mode:
Diffstat (limited to 'sh/upd')
-rwxr-xr-xsh/upd3
1 files changed, 3 insertions, 0 deletions
diff --git a/sh/upd b/sh/upd
index d9362f3..650b989 100755
--- a/sh/upd
+++ b/sh/upd
@@ -166,6 +166,9 @@ clean () {
# https://wiki.archlinux.org/title/Pacman/Tips_and_tricks#Removing_unused_packages_(orphans)
pacman -Qdttq | sudo pacman -Rns --noconfirm -
+ # https://wiki.archlinux.org/title/Pacman/Tips_and_tricks#Detecting_more_unneeded_packages
+ # remove special orphan pkgs: dependency cycle, excessive denpendencies etc.
+ pacman -Qqd | sudo pacman -Rsu --noconfirm -
}
# basic daily stuff