Re: Debian package for PGF 2.10
Hi Faheem
2011/3/12 Faheem Mitha <faheem@email.unc.edu>:
>
> On Mon, 28 Feb 2011, Danai SAE-HAN (韓達耐) wrote:
>
>>> 5) command-with-path-in-maintainer-script? This refers to
>>>
>>> http://lintian.debian.org/tags/command-with-path-in-maintainer-script.html.
>>> Should one just use mktexlsr then?
>>
>> Definitely. Sometimes you would want to have your own "mktexlsr" and
>> therefore change the $PATH variable.
>
> Currently the script has
>
> if [ -x /usr/bin/mktexlsr ] ; then
> /usr/bin/mktexlsr
> fi
>
> However, if one allows for mktexlsr in non-standard locations, then one
> should rather have
>
> if which mktexlsr > /dev/null; then
> mktexlsr
> fi
>
> Comments?
"if which mktexlsr" is indeed code that dh_installtex uses.
BR
--
Danai
Reply to: