mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-10 04:37:29 +00:00
12 lines
423 B
Plaintext
12 lines
423 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
# remove-documentation: Remove unnecessary documentation to reduce disk usage
|
||
|
#
|
||
|
# Author: Alex Chiang <achiang@canonical.com>
|
||
|
# Date : November 9, 2010
|
||
|
|
||
|
echo "Removing documentation..."
|
||
|
find /usr/share/doc -depth -type f ! -name copyright|xargs rm || true
|
||
|
find /usr/share/doc -empty|xargs rmdir || true
|
||
|
rm -rf /usr/share/man /usr/share/groff /usr/share/info /usr/share/lintian /usr/share/linda /var/cache/man
|