[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



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? 

>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?

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

BTW, they are also called in the postinst script, but there without the
error checking.

So let's rephrase it:
Wishlist: Create a new dhit_ function which calls the argument progs and
only in error case outputs something.

WOuld this be ok?

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at>             Università di Siena
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
MAENTWROG (n. Welsh)
The height by which the top of a wave exceeds the heigh to which you
have rolled up your trousers.
			--- Douglas Adams, The Meaning of Liff



Reply to: