[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#136712: boot-floppies locale existence check is not perfect



Package: boot-floppies
Version: 3.0.20

check_locale:
ifeq ($(USE_LANGUAGE_CHOOSER), true)
        @echo "checking for locale charset of en_IN UTF-8"
        @if ! grep -q '^en_IN UTF-8' /etc/locale.gen; then \
          echo "add the line 'en_IN UTF-8' in /etc/locale.gen, and rerun locale-
gen"; \
          exit 1; \
        fi
endif

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?

regards,
	junichi

-- 
dancer@debian.org  http://www.netfort.gr.jp/~dancer






Reply to: