diff options
Diffstat (limited to 'hooks/mini')
-rwxr-xr-x | hooks/mini | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/hooks/mini b/hooks/mini index c33186e10..e7f6ff14c 100755 --- a/hooks/mini +++ b/hooks/mini @@ -33,10 +33,14 @@ rm -rf /usr/share/info/* rm -rf /usr/share/zoneinfo/* rm -rf /var/cache/man/* -# Cleaning apt +# Cleaning apt lists rm -rf /var/lib/apt/lists mkdir -p /var/lib/apt/lists/partial +# Cleaning apt cache +rm -rf /var/cache/apt +mkdir -p /var/cache/apt/archives/partial + # Truncating logs for FILE in $(find /var/log/ -type f) do |