Ralf Stubner <[EMAIL PROTECTED]> wrote:

> Frank Küster wrote:
>
>> The assumption above is wrong, or at least short-sighted.  updmap-sys
>> and fmtutil-sys can only be called when tetex-bin is there.  However, we
>> *must* call the update script under all circumstances.  Otherwise
>> tetex-bin will be without language information etc.  I wonder how this
>> slipped through...
>
> I don't understand. Shouldn't tetex-bin call the update-* scripts before
> generating formats/map files/...
>
> [Looking into common.functions.in]
>
> It seems it doesn't. IMO that's the bigger problem.

I think every package that installs snippets for language.dat,
updmap.cfg, etc., should call update-foo.  That's the clean way.

> But then, calling the update-* scripts should be safe at any time.
> However, now there is an unconditional call to mktexlsr in tetex-base's
> postinst jusst before the update-* scripts are called. IMO this is
> unsafe (tetx-bin might not be installed) 

Indeed; it will just fail if tetex-bin isn't installed, which I noticed
during testing.  It's already fixed in my local copy and the upload I
made, and I just committed it.

Regards, Frank

-- 
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)

Reply via email to