summaryrefslogtreecommitdiff
path: root/hooks/stripped
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/stripped')
-rwxr-xr-xhooks/stripped8
1 files changed, 0 insertions, 8 deletions
diff --git a/hooks/stripped b/hooks/stripped
index e4811f49a..629c79df8 100755
--- a/hooks/stripped
+++ b/hooks/stripped
@@ -35,14 +35,6 @@ rm -rf /usr/share/linda/*
rm -rf /usr/share/zoneinfo/*
rm -rf /var/cache/man/*
-# 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