Re: /usr/share/doc (was Re: weekly policy summary)
- To: debian-policy@lists.debian.org
- Subject: Re: /usr/share/doc (was Re: weekly policy summary)
- From: Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
- Date: Mon, 2 Aug 1999 17:43:07 +0200
- Message-id: <[🔎] 19990802174307.D313@ulysses.ulysses.de>
- In-reply-to: <19990730165407.A32408@azure.humbug.org.au>; from Anthony Towns on Fri, Jul 30, 1999 at 04:54:07PM +1000
- References: <19990716143504.A31122@kitenet.net> <19990727084954.A795@hilfy.dev.madge.com> <87vhb5anf8.fsf@glaurung.green-gryphon.com> <19990728152621.I9682@kitenet.net> <87aesgno56.fsf@glaurung.green-gryphon.com> <87r9lr6s43.fsf@dsp.net> <87emhqls8d.fsf@glaurung.green-gryphon.com> <19990730143652.A30984@azure.humbug.org.au> <87vhb2k6ur.fsf@glaurung.green-gryphon.com> <19990730165407.A32408@azure.humbug.org.au>
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: