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

Re: persistence of /usr/doc/$pkg (Was: debhelper: /usr/doc problems again)



Joey Hess <joey@kitenet.net> writes:

> Manoj Srivastava wrote:

> >      Ask the user of one should move the old files to the new location
> >         if yes, copy files over, with backup, remove old dir
> >         else abort with an error

> I dislike this bit because it involves prompting.

That was my first reaction, but it only involves prompting if the
sysadmin has been messing around where, arguably, he or she really
shouldn't.  IOW, there *shouldn't* be files there, so we're only
prompting in a case that *should* never arise.

The sysadmin is really supposed to stick to /usr/local and /etc (and
maybe /opt).  I have to admit that I've been seriously tempted to just
silently delete anything in /usr/doc/mypackage that I don't recognize
just to teach people not to play with system areas, but I s'pose
that's probably mean.  :-)
-- 
Chris Waters   xtifr@dsp.net | I have a truly elegant proof of the
      or    xtifr@debian.org | above, but it is too long to fit into
http://www.dsp.net/xtifr     | this .signature file.


Reply to: