doc: T4415: Added back copyrights for components

Copyright information must not be deleted with the rest documentation
files.
This commit is contained in:
zsdc 2022-05-05 14:35:14 +03:00
parent f2d58f06e9
commit 696e1200e9

View File

@ -1,4 +1,6 @@
#!/bin/bash
# We do not need any documentation on the system. This frees 43MB.
rm -rf /usr/share/doc /usr/share/doc-base /usr/share/docutils
# 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