Re: debconf: country code in a base-config script

2004-11-05 Thread Konstantinos Margaritis
On ÎÎÏ 05 ÎÎÎ 2004 21:36, Tzafrir Cohen wrote: > However in my case I need the country code for a script that simply > needs a country code and not much more. No extra logic is involved > besides maintaining a list of valid country codes. > > I also don't like the dependency on perl. So far I have

Re: debconf: country code in a base-config script

2004-11-05 Thread Tzafrir Cohen
On Fri, Nov 05, 2004 at 07:02:24PM +0200, Konstantinos Margaritis wrote: > On ÎÎÏ 05 ÎÎÎ 2004 15:55, Tzafrir Cohen wrote: > > Hi > > > > I want to configure some packages in the base-config script using > > the value of the two-letter country code (e.g: "us", "gb", "il"). > > > > The information is

Re: debconf: country code in a base-config script

2004-11-05 Thread Konstantinos Margaritis
First I would suggest for localization stuff to use the appropriate package, localization-config. It offers the framework to do package configuration based on the locale info, without so much as changing base-config itself. There are some example scripts there that you could use as base. What in

Re: debconf: country code in a base-config script

2004-11-05 Thread Joey Hess
Tzafrir Cohen wrote: > Hi > > I want to configure some packages in the base-config script using the > value of the two-letter country code (e.g: "us", "uk", "il"). > > The information is available in debconf. However the following command > seems t give an indication that the debconf database is

debconf: country code in a base-config script

2004-11-05 Thread Tzafrir Cohen
Hi I want to configure some packages in the base-config script using the value of the two-letter country code (e.g: "us", "uk", "il"). The information is available in debconf. However the following command seems t give an indication that the debconf database is locked when run from a base-config