summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:04:50 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:18:29 +0100
commit4739146fc6c4de8b16418517bb882312c475195c (patch)
treea3c29d97d1ead4ad4fa532b1c6bfdb419f160e71 /hooks
parent1863ed88740575342008ac5f694d03e944bcece2 (diff)
downloadvyos-live-build-4739146fc6c4de8b16418517bb882312c475195c.tar.gz
vyos-live-build-4739146fc6c4de8b16418517bb882312c475195c.zip
Adding live-helper 1.0~a6-1.
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 a0982d262..14f942a2f 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 cfb3ab2b4..c5bb412c0 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