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

Re: /usr/share/doc (was Re: weekly policy summary)



On Fri, Jul 30, 1999 at 04:54:07PM +1000, Anthony Towns wrote:
> 
> 	postinst install:
                 ^^^^^^^

also at upgrade.

> 	    if [ -d /usr/doc ]; then
> 	      if [ ! -e /usr/doc/$package -a -d /usr/share/doc/$package ]; then
> 	        ln -s /usr/share/doc/$package /usr/doc/$package
>               fi
>             fi
> 
> 	prerm remove:
              ^^^^^^

also at upgrade.

> 	    if [ -d /usr/doc ]; then
> 	      if [ -L /usr/doc/$pakage ]; then
> 	        rm -f /usr/doc/$foo
> 	      fi
>             fi
> 
> This remains for woody (potato+1) at which point we file important bugs
> and remove packages that haven't been updated.
> 
> Then for woody+1 we let people drop the scripts whenever they feel
> like. Crufty symlinks get removed when everyone updates to a new
> base-files that rm's symlinks from within /usr/doc in its postinst on
> upgrade, or something similar.

There shall be no crufty symlinks whatsoever if everyone does do it right in
the first place.
 
> Thus, partial upgrades to potato and woody have a complete /usr/doc,
> and full upgrades to woody have a complete /usr/share, and symlinks
> throughout /usr/doc. Partial upgrades to anything beyond woody might
> have old files left in /usr/doc, but they'll get moved when whoever
> finally gets around to run an apt-get dist-upgrade.

Yes, this is correct.
 
> Anyway, I'm quoting Marcus Brinkmann from
> > ~2000 new prerm/postrm scripts that must never go, even after the
> > transition period.
> 
> So this is definitely incorrect, yes?

Yes, sorry.
Marcus


-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org   finger brinkmd@ 
Marcus Brinkmann              GNU    http://www.gnu.org     master.debian.org
Marcus.Brinkmann@ruhr-uni-bochum.de                        for public  PGP Key
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/       PGP Key ID 36E7CD09


Reply to: