Re: <pkg>-byte
On Sun, Dec 22, 2002 at 01:46:06PM +0100, Jérôme Marant wrote:
> Sven Luther <luther@dpt-info.u-strasbg.fr> writes:
>
>
> >> Yes.
> >>
> >> However, you cannot change spamoracle-byte that way because dpkg won't let you
> >> replace /usr/share/doc/spamoracle-byte by a symlink. You need
> >> trick (I know of) to make it possible.
> >
> > Err, what trick and what is the problem in the first place. The above
> > mentioned debian/rules yielded a debian package which i installed over
> > my spamoracle package without problem.
>
> The problem:
>
> If you have /usr/share/doc/spamoracle-byte directory in the current version
> and if you replace it with a symlink in the next version of the package,
> dpkg will not do such a replacement and leave the directory.
Ok, i see.
It would be no problem if i did the above from start, would it ?
> I have a trick in my icewm{-gnome} maintainer scripts that work this
> around.
What is the trick ? Make sure it is a symlink in a postinst ?
Friendly,
Sven Luther
Reply to: