[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#40706: usr/share/doc vs. /usr/doc



On Fri, 16 Jul 1999, Manoj Srivastava wrote:

>         I propose that there be a syymlink from /usr/doc/<package> ->
>  /usr/share/doc/<package>, managed by the p[ackage itself. This is how
>  it works:
> 
> a) Policy 3.X mandates that packages that move the docs to
>    /usr/share/doc must provide a compatibility symlink in
>    /usr/doc. This shall allow packages to incrementally move to policy
>    3.X, while providing compatibility with older systems. 
>    </usr/doc/<package> symlink is handled by <package>)
> 
> b) At a later date, another policy (say, 4.X) shall ask for packages
>    to no longer provide the link. We can do this when we are sure the
>    time for the links is gone, and the transitions is over. 

I second this proposal.

If there really is a technical problem with this link as mentioned by
Santiago (I didn't check this myself), we can handle this symlink in
postinst:

if [ -d /usr/doc ]; then
        ln -s ../share/doc/<package> /usr/doc/
fi

And in prerm:

if [ -L /usr/doc/<package> ]; then
        rm /usr/doc/<package>
fi

Ciao

        Roland

-- 
 * roland@spinnaker.de * http://www.spinnaker.de/ *
 PGP: 1024/DD08DD6D   2D E7 CC DE D5 8D 78 BE  3C A0 A4 F1 4B 09 CE AF

Attachment: pgppCT3twpw_S.pgp
Description: PGP signature


Reply to: