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

depending on a locale



Hi,

 I am working on a package, which has a test suite. As it's allways a
good idea to run it at package creation time, I try to run it. Only one
test fails in a chroot environment which is probably the same that
buildd's have. It needs the locales (I can 'Build-Depends:' on it no
problem), and a locale, which I chose to be en_US in /etc/locale.gen,
and generated by locale-gen. How can I achieve the latter? Ie, I can
create the file, and run locale-gen from debian/rules, but what's if a
user runs it from a live system? I may introduce problems with hassling
with the locales. On the other hand, I can make the test suite think
this test was passed with an one line change.

Thanks in advance,
Laszlo/GCS



Reply to: