From f4c20c80f047c879a87279d1db3d6a2f930085b2 Mon Sep 17 00:00:00 2001 From: Angelos Giannourakos Date: Thu, 31 Oct 2024 21:02:25 +0200 Subject: [PATCH] fix(nala): remove autoclean from `system-cleanup.sh` (#697) * Removing autoclean for apt | nala Removing autoclean command for apt | nala because there is no such command on debian especially for nala * Update system-cleanup.sh * Update system-cleanup.sh * Update system-cleanup.sh --- core/tabs/system-setup/system-cleanup.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/tabs/system-setup/system-cleanup.sh b/core/tabs/system-setup/system-cleanup.sh index 2641a14f..57b827b9 100755 --- a/core/tabs/system-setup/system-cleanup.sh +++ b/core/tabs/system-setup/system-cleanup.sh @@ -7,10 +7,8 @@ cleanup_system() { case "$PACKAGER" in apt-get|nala) "$ESCALATION_TOOL" "$PACKAGER" clean - "$ESCALATION_TOOL" "$PACKAGER" autoremove -y - "$ESCALATION_TOOL" "$PACKAGER" autoclean + "$ESCALATION_TOOL" "$PACKAGER" autoremove -y "$ESCALATION_TOOL" du -h /var/cache/apt - "$ESCALATION_TOOL" "$PACKAGER" clean ;; zypper) "$ESCALATION_TOOL" "$PACKAGER" clean -a