mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2025-04-20 10:53:06 +01:00
Compare commits
4 Commits
7e2930279a
...
786e21d403
Author | SHA1 | Date | |
---|---|---|---|
|
786e21d403 | ||
|
4d13e0cab4 | ||
|
9e4f5e5daf | ||
|
b7b6d25d1a |
@ -12,9 +12,8 @@ cleanup_system() {
|
||||
"$ESCALATION_TOOL" du -h /var/cache/apt
|
||||
;;
|
||||
zypper)
|
||||
"$ESCALATION_TOOL" "$PACKAGER" clean -a
|
||||
"$ESCALATION_TOOL" "$PACKAGER" tidy
|
||||
"$ESCALATION_TOOL" "$PACKAGER" cc -a
|
||||
"$ESCALATION_TOOL" "$PACKAGER" clean --all
|
||||
"$ESCALATION_TOOL" "$PACKAGER" packages --unneeded
|
||||
;;
|
||||
dnf)
|
||||
"$ESCALATION_TOOL" "$PACKAGER" clean all
|
||||
@ -22,7 +21,8 @@ cleanup_system() {
|
||||
;;
|
||||
pacman)
|
||||
"$ESCALATION_TOOL" "$PACKAGER" -Sc --noconfirm
|
||||
"$ESCALATION_TOOL" "$PACKAGER" -Rns "$(pacman -Qtdq)" --noconfirm > /dev/null || true
|
||||
# shellcheck disable=2046
|
||||
"$ESCALATION_TOOL" "$PACKAGER" -Rns $(pacman -Qtdq) --noconfirm > /dev/null || true
|
||||
;;
|
||||
apk)
|
||||
"$ESCALATION_TOOL" "$PACKAGER" cache clean
|
||||
|
Loading…
x
Reference in New Issue
Block a user