Bug#170592: tetex-base: improperly handling /usr/share/texmf/doc symlink
From: Atsuhito Kohda <kohda@pm.tokushima-u.ac.jp>
Subject: Bug#170592: tetex-base: improperly handling /usr/share/texmf/doc symlink
Date: Mon, 25 Nov 2002 12:09:37 +0900 (JST)
> From: Julian Gilbey <jdg@debian.org>
> Subject: Bug#170592: tetex-base: improperly handling /usr/share/texmf/doc symlink
> Date: Sun, 24 Nov 2002 22:22:42 +0000
>
> > Seems as though this package provides the /usr/share/texmf/doc symlink
> > in the package, but then it's also handled in the postinst or
> > something? I don't seem to have this link at all on my system now....
>
> Me neither, but it seemed postinst or rules seemed
> the same as before, at least basically.
>
> I'll check more but if someone can guess the reason
> please let me know.
In rules, there is a line
(cd debian/tmp/usr/share/texmf; ln -s ../doc/texmf doc)
and in postinst, there are lines
if [ ! -e /usr/share/texmf/doc ]
then
ln -s /usr/share/doc/texmf /usr/share/texmf/doc
fi
so I cann't imagine what is wrong...
I tested with modified postinst (-e to -L)
if [ ! -L /usr/share/texmf/doc ]
then
ln -s /usr/share/doc/texmf /usr/share/texmf/doc
fi
then it worked fine for me but it was only one test
with one of my Debian systems.
# it seemed a symlink of /usr/share/texmf/web2c also
# lost from time to time and it is almost in the same
# situation. Is this some problem of dpkg or something ?
Is there any idea ?
Best regards, 2002/11/29
--
Debian Developer & Debian JP Developer - much more I18N of Debian
Atsuhito Kohda <kohda@debian.org>
Department of Math., Tokushima Univ.
Reply to: