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

Bug#365070: tex-common: dh_installtex: upon removal, runs update-* even if not needed



Norbert Preining <preining@logic.at> wrote:

> Hi Frank!
>
> On Don, 27 Apr 2006, Frank Küster wrote:
>> Running update-updmap --quiet. This may take some time... done.
>> Running update-language. This may take some time... done.
>> Running update-fmtutil. This may take some time... done.
>> 
>> This is the new version which doesn't have any post* maintainer scripts
>> of its own, only debhelper generated ones.
>
> True, but do we really want to remove it? It might help in some cases
> where *other* packages forgot to call in upon removal etc? 

I don't think this is a valid pro-argument - it also means that bugs in
other packages are harder to detect.

>>From postrm-tex:
> 	It doesn't hurt to call all of them.
> So is it only for aestethic reasons of the output, or are your seriously
> concerned that these 3 programs are always called?

No, in fact these three are purely aesthetic.  It was just that I
noticed this while preparing the sponsored upload for thailatex, and -
not knowing what exactly was called under which circumstances - I wanted
to make sure to investigate this.

> OTOH, the time intense stuff (updmap-sys, fmtutil-sys) is ONLY called if
> necessary, only the three update-* are called unconditionally. 

Okay, now that I know this, I guess it's in fact unimportant.

> Wishlist: Create a new dhit_ function which calls the argument progs and
> only in error case outputs something.
>
> WOuld this be ok?

That sounds sensible (although I'm not familiar with the code
dh_installtex introduces, and can't contribute much insight here). 

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




Reply to: