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

Bug#181882: tetex-base: Installation error: "kpsewhich: command not found"



From: Eugen Dedu <Eugen.Dedu@prism.uvsq.fr>
Subject: Bug#181882: tetex-base: Installation error: "kpsewhich: command not found"
Date: Wed, 26 Feb 2003 09:39:08 +0100

> >>>A check for existence of /usr/bin/kpsewhich should be done probably 
> >>>before the if.
> >>
> >>Hmm, perhaps we need more investigation.
> > 
> > 
> > This is the correct solution: shell expands the `...` *before* it
> > passes the command to '['.  So we need to do something like:
> > 
> > if [ -x /usr/bin/kpsewhich ]; then
> >     HAVE_KPSEWHICH=1
> > else
> >     HAVE_KPSEWHICH=0
> > fi
> > 
> > if [ $HAVE_KPSEWHICH -eq 1 -a -x ${UPDMAP} -a ... ]; then
> >     ....
> 
> That's it, thanks!

Yes but even so, there remains a problem.

If an old libkpathsea was installed then kpsewhich
mignt not work.

I suspect to run update-updmap with tetex-base is too
delicate so it is much safer to run update-updmap only
with tetex-bin.

Thanks,			2003-2-27(Thu)

-- 
 Debian Developer & Debian JP Developer - much more I18N of Debian
 Atsuhito Kohda <kohda@debian.org>
 Department of Math., Tokushima Univ.



Reply to: