summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rwxr-xr-xdata/live-build-config/hooks/live/80-delete-docs.chroot6
1 files changed, 5 insertions, 1 deletions
diff --git a/data/live-build-config/hooks/live/80-delete-docs.chroot b/data/live-build-config/hooks/live/80-delete-docs.chroot
index fa1f5168..8d99b694 100755
--- a/data/live-build-config/hooks/live/80-delete-docs.chroot
+++ b/data/live-build-config/hooks/live/80-delete-docs.chroot
@@ -3,4 +3,8 @@
# We do not need any documentation on the system. This frees some space.
# Copyright/licenses files are ignored for deletion
shopt -s extglob
-rm -rf /usr/share/doc/*/!(copyright) /usr/share/doc-base
+rm -rf /usr/share/doc/*/!(copyright*|README*) /usr/share/doc-base
+
+# We also do not need any manpages on the system since man-binary is missing.
+# This also frees some space.
+rm -rf /usr/share/man