Compare commits

...

4 Commits

Author SHA1 Message Date
Jaredy899
786e21d403
Merge 4d13e0cab4339ca3ea7b6aa77efd7d58ddc25b7f into e88020cff09f271af6361c43e60dbfdeaafb975a 2025-03-05 21:15:48 -05:00
Jaredy899
4d13e0cab4
Merge branch 'main' into zypper 2025-03-05 21:15:45 -05:00
Jaredy899
9e4f5e5daf
shellcheck 2025-03-05 21:14:55 -05:00
Jaredy899
b7b6d25d1a
Fix zypper cleanup 2025-01-11 23:32:42 -05:00

View File

@ -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