T5468: Remove unused manpages to free up space

(cherry picked from commit f9946312dfdfb8163995cf7ddd0efb1e485fc977)
This commit is contained in:
Apachez 2023-08-24 09:22:25 +02:00 committed by Christian Breunig
parent 42535513ff
commit eaed7095f2

View File

@ -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