I think what you want is described in the "dpkg programmers manual":
A directory will never be replaced by a symbolic links to a
directory or vice versa; instead, the existing state (symlink or
not) will be left alone and dpkg will follow the symlink if
there is one.
So, the symlink needs to exist _before_ the unpack takes place. I
solved this in a similar package with iraf-dev Pre-Depends on iraf.
iraf contains the symlink, and this prevents iraf-dev from being
unpacked until iraf is unpacked, and the symlink is in place.
On Fri, Jul 30, 2004 at 07:41:04PM +0200, Frank K?ster wrote:
> Hi,
>
> I think I have raised this somewhere before, but I can't remember or
> find it in the list archives. In the tetex-bin package, there is a
> symlink:
>
> /usr/share/texmf/web2c --> /var/lib/texmf/web2c
>
> Now I want to make /usr/share/texmf/web2c an ordinary directory with
> some static files in it, while /var/lib/texmf/web2c will still be found
> by TeX because of a configuration change. But I encounter a strange
> problem:
--
Justin
apt-get install iraf saods9 eclipse xpa sextractor latex-astro wcstools pyraf
http://www.justinpryzby.com/debian/
signature.asc
Description: Digital signature

