From 53f26e88dc6a49ea3bf3e7a969cf112525a52b91 Mon Sep 17 00:00:00 2001 From: AngelosGian Date: Sun, 29 Sep 2024 13:03:59 +0300 Subject: [PATCH 1/4] Removing autoclean for apt | nala Removing autoclean command for apt | nala because there is no such command on debian especially for nala --- core/tabs/system-setup/system-cleanup.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/core/tabs/system-setup/system-cleanup.sh b/core/tabs/system-setup/system-cleanup.sh index 198a9d68..cca0618e 100644 --- a/core/tabs/system-setup/system-cleanup.sh +++ b/core/tabs/system-setup/system-cleanup.sh @@ -8,7 +8,6 @@ cleanup_system() { apt-get|nala) "$ESCALATION_TOOL" "$PACKAGER" clean "$ESCALATION_TOOL" "$PACKAGER" autoremove -y - "$ESCALATION_TOOL" "$PACKAGER" autoclean "$ESCALATION_TOOL" du -h /var/cache/apt "$ESCALATION_TOOL" "$PACKAGER" clean ;; From 3b86a5977d3b623cb6a083e155a01f5e5812fda2 Mon Sep 17 00:00:00 2001 From: Angelos Giannourakos Date: Mon, 30 Sep 2024 09:51:05 +0300 Subject: [PATCH 2/4] Update system-cleanup.sh --- core/tabs/system-setup/system-cleanup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/core/tabs/system-setup/system-cleanup.sh b/core/tabs/system-setup/system-cleanup.sh index cca0618e..092611b2 100644 --- a/core/tabs/system-setup/system-cleanup.sh +++ b/core/tabs/system-setup/system-cleanup.sh @@ -8,6 +8,7 @@ cleanup_system() { apt-get|nala) "$ESCALATION_TOOL" "$PACKAGER" clean "$ESCALATION_TOOL" "$PACKAGER" autoremove -y + "$ESCALATION_TOOL" "apt-get" autoclean "$ESCALATION_TOOL" du -h /var/cache/apt "$ESCALATION_TOOL" "$PACKAGER" clean ;; From ade17e3151df4ba0c723d5e3c6812b5cf97d93ea Mon Sep 17 00:00:00 2001 From: Angelos Giannourakos Date: Mon, 30 Sep 2024 10:08:40 +0300 Subject: [PATCH 3/4] Update system-cleanup.sh --- core/tabs/system-setup/system-cleanup.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/tabs/system-setup/system-cleanup.sh b/core/tabs/system-setup/system-cleanup.sh index 092611b2..40ab50b7 100644 --- a/core/tabs/system-setup/system-cleanup.sh +++ b/core/tabs/system-setup/system-cleanup.sh @@ -7,8 +7,7 @@ cleanup_system() { case "$PACKAGER" in apt-get|nala) "$ESCALATION_TOOL" "$PACKAGER" clean - "$ESCALATION_TOOL" "$PACKAGER" autoremove -y - "$ESCALATION_TOOL" "apt-get" autoclean + "$ESCALATION_TOOL" "$PACKAGER" autoremove -y "$ESCALATION_TOOL" du -h /var/cache/apt "$ESCALATION_TOOL" "$PACKAGER" clean ;; From 7ee953649c18803e02f1c6d192dd68a362e4215c Mon Sep 17 00:00:00 2001 From: Angelos Giannourakos Date: Mon, 30 Sep 2024 10:51:33 +0300 Subject: [PATCH 4/4] Update system-cleanup.sh --- core/tabs/system-setup/system-cleanup.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/core/tabs/system-setup/system-cleanup.sh b/core/tabs/system-setup/system-cleanup.sh index 40ab50b7..ddd2de1b 100644 --- a/core/tabs/system-setup/system-cleanup.sh +++ b/core/tabs/system-setup/system-cleanup.sh @@ -9,7 +9,6 @@ cleanup_system() { "$ESCALATION_TOOL" "$PACKAGER" clean "$ESCALATION_TOOL" "$PACKAGER" autoremove -y "$ESCALATION_TOOL" du -h /var/cache/apt - "$ESCALATION_TOOL" "$PACKAGER" clean ;; zypper) "$ESCALATION_TOOL" "$PACKAGER" clean -a