[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 03:51:47PM +0200, Roland Rosenfeld wrote:
> On Fri, 30 Jul 1999, Joseph Carter wrote:
> 
> > > 1. mv /usr/doc/* /usr/share/doc
> 
> This isn't trivial, because you cannot be sure that /usr/doc and
> /usr/share/doc are located at the same filesystem.
> And don't miss the (few) packages which already moved to
> /usr/share/doc (where some of them left back a .dhelp file in
> /usr/doc/<package>).

read "mv" as "cp, verify success, rm old, create symlink, and the whole
time deal with things like dropped .dhelp files in /usr/doc while the rest
of the package has moved to /usr/share/doc already"

Not trivial.  But if it were trivial we'd have done it already.
Fortunately if this script does something like lock the dpkg database
while it does this (a good idea since we're reading that) it should be
acceptable.


> So the above noted idea works when run by hand, but I'm not sure,
> whether a postinst script is able to do this job without problems on
> _every_ Debian system...

See above.

-- 
Joseph Carter <knghtbrd@debian.org>             Debian GNU/Linux developer
GnuPG: 2048g/3F9C2A43 - 20F6 2261 F185 7A3E 79FC  44F9 8FF7 D7A3 DCF9 DAB3
PGP 2.6: 2048R/50BDA0ED - E8 D6 84 81 E3 A8 BB 77  8E E2 29 96 C9 44 5F BE
--------------------------------------------------------------------------
"What does this tell me?  That if Microsoft were the last software
company left in the world, 13% of the US population would be scouring
garage sales & Goodwill for old TRS-80s, CPM machines & Apple ]['s before
they would buy Microsoft. That's not exactly a ringing endorsement."
        -- Seen on Slashdot

Attachment: pgpeRNVs2TVgy.pgp
Description: PGP signature


Reply to: