summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/mini2
-rwxr-xr-xhooks/minimal2
2 files changed, 4 insertions, 0 deletions
diff --git a/hooks/mini b/hooks/mini
index a0982d2..14f942a 100755
--- a/hooks/mini
+++ b/hooks/mini
@@ -15,6 +15,8 @@ apt-get remove --purge --yes man-db manpages info
apt-get remove --purge --yes ssl wget
# Removing unused files
+find . -name *~ | xargs rm -f
+
rm -rf /usr/include/*
#rm -rf /usr/share/groff/*
rm -rf /usr/share/doc/*
diff --git a/hooks/minimal b/hooks/minimal
index cfb3ab2..c5bb412 100755
--- a/hooks/minimal
+++ b/hooks/minimal
@@ -15,6 +15,8 @@ apt-get remove --purge --yes man-db manpages info
apt-get remove --purge --yes ssl wget
# Removing unused files
+find . -name *~ | xargs rm -f
+
rm -rf /var/cache/man/*
# Cleaning apt