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

Re: Bug#352630: texinfo: kpsewhich cannot open shared object libkapthsea.so.4



On Mon, 13 Feb 2006, Ralf Stubner wrote:
> > But checking the exit code of "kpsewhich 2>/dev/null" is equivalent and
> > probably easier to understand in case somebody else has to read the
> > code... 

I do

if kpsewhich --version > /dev/null 2>&1 ; then
	# do whatever you want to do
fi

> Should something similar be added to the maintainer scripts for font
> packages? There we also call mktexlsr and updmap-sys, if they exist.
> Both of them call kpsewhich.

Good question: We should think about this, and either care for this in
the dh_installtex autoscripts, or add something to the TeX policy that
you *must* depend on a basic tex system (either tetex-base or
texlive-base).

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
-------------------------------------------------------------------------------
ABERCRAVE (vb.)
To strongly desire to swing from the pole on the rear footplate of a
bus.
			--- Douglas Adams, The Meaning of Liff



Reply to: