vyos-build/data/live-build-config/hooks/live/80-delete-docs.chroot
zsdc 696e1200e9 doc: T4415: Added back copyrights for components
Copyright information must not be deleted with the rest documentation
files.
2022-05-05 14:35:14 +03:00

7 lines
212 B
Bash
Executable File

#!/bin/bash
# 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