Bug#136712: boot-floppies locale existence check is not perfect
On Mon, 2002-03-04 at 03:09, Junichi Uekawa wrote:
> The above check in make/check does succeed when:
>
> a. locale-gen was not executed
> b. /etc/locale.gen has no final newline and locale-gen fails to parse
>
>
> I think it might be better to check for existence of
> /usr/lib/locale/en_IN/ directory.
>
> Comments?
Yeah, I guess.
How about this:
@if ! ( LANG=en_IN locale charmap ) | grep -q "^UTF-8"; then ...
That way you actually check that setting the locale will do what we need
it to.
p.
Reply to: