Hi,
I've been adapting a script from the debian package localepurge to work as
post install script. This script purges all languages that doesn't appear in
the locale.nopurge file. It also gives the option to purge man pages
uncommenting MANDELETE option.
It works simply copying the three files into the post_install_scripts
directory (rember to give execution permissions to the script :). Then
customize locale.nopurge to your needs.
I've tried it and seems to work well, but have not made al lot of testing and
may be there's still some issue.
The source package can be downloaded from
http://ftp.debian.org/debian/pool/main/l/localepurge/localepurge_0.4.1.ta...
I have some questions about disk saving. What about the files
under /usr/lib/locale? Are they necessary? In my system it takes up around
100M of disk space. And /usr/share/doc? Apart from HTML, can the other
directories be safely deleted?
Cheers,
Alex Magaz