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

Bug#288182: tetex-bin postinst fails when calling fmtutil



Attila Kinali <attila@kinali.ch> wrote:

> On Mon, 3 Jan 2005 11:52:32 +0100
> Hilmar Preusse <hille42@web.de> wrote:
>
>  
>> At first: I guess manual calling "fmtutil --all" as root don't work
>> either.
>
> Interestingly this works fine.

There is some weird setting of $IFS under the conditions when the
postinst is run.

>> Second: Replace the first line by "#!/bin/sh -x", call fmtutil again
>> and post the output (will be sent to stderr).
>
> ---
> Setting up tetex-bin (2.0.2-25) ...

This is from "dpkg --configure -a" as root, or which command did you call?

[...]
> + OIFS= ,
> + IFS=

The code behind this is:

OIFS=$IFS
IFS='
'
set `echo x; sed '/^#/d; /^[ 	]*$/d' "$cnf_file"`; shift
IFS=$OIFS

So this means that your original setting of IFS must contain a comma
(instead of something sane, i.e. a combination of space, tab and
possibly newline).

Regards, Frank

-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer




Reply to: