Quoting Bill Allombert ([EMAIL PROTECTED]): > > At least one is subscribed here to menu's PTS..:-) > > So convenient! So you confirm /etc/default/locale is somehow the > official system-wide locale for the system ?
yes > > I would suggest to source /etc/default/locale if it exists before > > running update-menus, if it is run by root. > > > > This will will only contain variable assignments, so sourcing it seems > > to be the safest option. > > Well but update-menus is a C++ program, so sourcing it is not very > practical. Maybe I can do the C++ equivalent of > lang=$(sh -c ". /etc/default/locale && echo \$LANG") > but it will be slow. > Maybe I could just grep for /^LANG=/ instead ? Better double check this and ask for Denis Barbier's advice.... --
signature.asc
Description: Digital signature