mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2025-04-20 19:03:08 +01:00
Merge 4d13e0cab4339ca3ea7b6aa77efd7d58ddc25b7f into e88020cff09f271af6361c43e60dbfdeaafb975a
This commit is contained in:
commit
786e21d403
@ -12,9 +12,8 @@ cleanup_system() {
|
|||||||
"$ESCALATION_TOOL" du -h /var/cache/apt
|
"$ESCALATION_TOOL" du -h /var/cache/apt
|
||||||
;;
|
;;
|
||||||
zypper)
|
zypper)
|
||||||
"$ESCALATION_TOOL" "$PACKAGER" clean -a
|
"$ESCALATION_TOOL" "$PACKAGER" clean --all
|
||||||
"$ESCALATION_TOOL" "$PACKAGER" tidy
|
"$ESCALATION_TOOL" "$PACKAGER" packages --unneeded
|
||||||
"$ESCALATION_TOOL" "$PACKAGER" cc -a
|
|
||||||
;;
|
;;
|
||||||
dnf)
|
dnf)
|
||||||
"$ESCALATION_TOOL" "$PACKAGER" clean all
|
"$ESCALATION_TOOL" "$PACKAGER" clean all
|
||||||
@ -22,7 +21,8 @@ cleanup_system() {
|
|||||||
;;
|
;;
|
||||||
pacman)
|
pacman)
|
||||||
"$ESCALATION_TOOL" "$PACKAGER" -Sc --noconfirm
|
"$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)
|
apk)
|
||||||
"$ESCALATION_TOOL" "$PACKAGER" cache clean
|
"$ESCALATION_TOOL" "$PACKAGER" cache clean
|
||||||
|
Loading…
x
Reference in New Issue
Block a user