Re: First tests with console-setup replacing kbd-config
Anton Zinoviev, le Mon 18 May 2009 22:53:02 +0300, a écrit :
> On Mon, May 18, 2009 at 06:54:50PM +0200, Christian Perrier wrote:
> > > 3. Is UTF-8 the value of CHARMAP in /etc/default/console-setup?
> > There is no such file..:)
> :) Ok, this must be caused by your bug #439633. There is no need for
> the dot in the following lines of postinst:
> # In d-i the config script is not executed automatically
> if [ -f /usr/share/console-setup-mini/console-setup.config ]; then
> . /usr/share/console-setup-mini/console-setup.config
> I commited the required change.
Mmm, I guess you missed my mails reporting that some time ago.
Another issue is then that the `which` tool is not available in d-i,
while postinst used to provide it as a function before sourcing
console-setup.config. I've replaced it with `type` to make it work.