mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-12-23 20:09:44 +00:00
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
This commit is contained in:
parent
1d61778736
commit
f4c20c80f0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user