Hello,
could you share the semi-adapted version?
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.