On Mon, Nov 21, 2005 at 10:15:40AM -0800, Daniel Burrows wrote:
> On Mon, Nov 21, 2005 at 11:55:54AM +0100, Bill Allombert <[EMAIL PROTECTED]> 
> was heard to say:
> >    These Depends lines are required by Policy section 12.5.
> > 
> > I suppose you mean:
> > 
> >      `/usr/share/doc/<package>' may be a symbolic link to another directory
> >      in `/usr/share/doc' only if the two packages both come from the same
> >      source and the first package Depends on the second.  These rules are
> >      important because copyrights must be extractable by mechanical means.
> > 
> > In that case you just need to move /usr/share/doc/<package> to the
> > data package as /usr/share/doc/<package-data> and reverse the symlink.
> 
>   AFAIK replacing a symlink with a directory or vice versa is a rather
> tricky process, and the only problem with circular depends is that their
> postints can be run in arbitrary orders.

If you just ship /usr/share/doc/<package-data> as a copy of
/usr/share/doc/<package>, you do not replace a directory by a symlink,
only a symlink by a directory, so you just need to remove the symlink in
the preinst.

Cheers,
-- 
Bill. <[EMAIL PROTECTED]>

Imagine a large red swirl here. 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to