On Thu, Jan 07, 2010 at 04:17:35PM -0800, Russ Allbery wrote: > Roger Leigh <email@example.com> writes: > > > AFAICT just set the LOCPATH environment variable and all programs will > > pick it up (in addition to LC_xxx to make your locale get used). You > > might not even need to restart lintian, since you can do the generation, > > set the environment and then just call setlocale() to start using it. > > I think I'll just generate it in postinst so that it's always available. > It doesn't take that long to do. > > > It's mentioned in locale(5) and environ(7). > > It's actually not mentioned in locale(5) at all, at least on my system. > (Or in locale(7).) That was the first place I looked. It is mentioned, > but not defined, in environ(7). Thank you! Sorry, I meant to type "locale(1)", which has it in the environment section at the end. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
Description: Digital signature