| philip.zeyliger | 46be096 | 2025-06-14 17:51:15 +0000 | [diff] [blame^] | 1 | #!/bin/bash |
| 2 | set -e | ||||
| 3 | |||||
| 4 | # Skip installing package docs (makes the man-db trigger much faster) | ||||
| 5 | # (I disabled `/doc` and `/info` too, just in case.) | ||||
| 6 | sudo tee /etc/dpkg/dpkg.cfg.d/01_nodoc > /dev/null << 'EOF' | ||||
| 7 | path-exclude /usr/share/doc/* | ||||
| 8 | path-exclude /usr/share/man/* | ||||
| 9 | path-exclude /usr/share/info/* | ||||
| 10 | EOF | ||||
| 11 | |||||
| 12 | echo "APT optimization configured - documentation installation disabled" | ||||