Add log file cleanup to apt cache cleaner script
This commit is contained in:
parent
4a036ecd6b
commit
ef70895ac2
|
@ -6,4 +6,8 @@ print_ok "Cleaning up apt cache..."
|
|||
apt update
|
||||
apt clean -y
|
||||
rm -rf /var/cache/apt/archives/*
|
||||
judge "Clean up apt cache"
|
||||
judge "Clean up apt cache"
|
||||
|
||||
print_ok "Cleaning up log files..."
|
||||
rm -rf /var/log/*
|
||||
judge "Clean up log files"
|
Loading…
Reference in New Issue