Bug#301156: tetex-bin: texdoc will not search
Eythan Weg <weg@indiscrete.org> wrote:
> Texdoc will not search effectively with say
> texdoc -s pdftex
> I had to patch with
>
> --- /usr/bin/texdoc 2005-03-23 19:01:08.000000000 -0500
> +++ /usr/bin/texdoc.orig 2005-03-17 09:47:45.000000000 -0500
> @@ -159,7 +159,7 @@
> do
> case $mode in
> search)
> - find `kpsewhich --expand-path='$TEXMF/doc' | tr : ' '` -follow -type f -print |
> + find `kpsewhich --expand-path='$TEXMF/doc' | tr : ' '` -type f -print |
> egrep $name
> continue
> ;;
>
>
> because in debian the main doc directory is a
> symbolic link.
Thanks for spotting this. An alternative would be to change the patch
to /usr/share/doc/texmf, but I think follow is better: There are some
add-on packages that install their documentation in
/usr/share/doc/$package with symlinks in
/usr/share/doc/texmf/somewhere.
Regards, Frank
--
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer
Reply to: