blob: 33a6bf7493005fac6004ba0cbd95a5d37372dacf (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/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*|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
|