Bug#181882: tetex-base: Installation error: "kpsewhich: command not found"
From: Eugen Dedu <Eugen.Dedu@prism.uvsq.fr>
Subject: Re: Bug#181882: tetex-base: Installation error: "kpsewhich: command not found"
Date: Fri, 21 Feb 2003 17:55:51 +0100
> Adding a `-x /usr/bin/kpsewhich' before using it does not solve the
> problem, because it seems that ALL the `and' clauses are executed:
>
> eminescu:~$ if [ -x /usr/bin/kpsewhich ]; then echo one; else echo two; fi
> two
> eminescu:~$ if [ -x /usr/bin/kpsewhich -a X"`kpsewhich
> --expand-var='$TEXMFMAIN'`" = X"/usr/share/texmf" ]; then echo one; else
> echo two; fi
> bash: kpsewhich: command not found
> two
> eminescu:~$
>
> A check for existence of /usr/bin/kpsewhich should be done probably
> before the if.
Hmm, perhaps we need more investigation.
Thanks for your help. 2003.2.22(Sat)
--
Debian Developer & Debian JP Developer - much more I18N of Debian
Atsuhito Kohda <kohda@debian.org>
Department of Math., Univ. of Tokushima
Reply to: