summaryrefslogtreecommitdiff
path: root/data/live-build-config/hooks/live/80-delete-docs.chroot
blob: fa1f51686fd61a4abe5464698da22bed43a5cced (plain)
1
2
3
4
5
6
#!/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