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

Re: /usr/local again...

>> The current policy amounts to "don't assume anything about
>> /usr/local, but go ahead and try and add/remove stuff from it
>> anyways". 
>What about this?
>The only allowed changes to /usr/local are creating directories as
>placeholders on package installation and removing the directories, if
>empty, on package removal.  The postinst and prerm scripts must NOT
>fail if either of these operations fail.  For example, the emacs
>package will contain
>	mkdir -p /usr/local/lib/emacs/site-lisp || true
>in the postinst, and
>	rmdir /usr/local/lib/emacs/site-lisp && rmdir \
>	  /usr/local/lib/emacs || true
>in the prerm.

So when the 'cweb' package craps out because of attempting to
make/remove /usr/local/lib/cweb, I can file it as a bug against the

Richard W Kaszeta 			Graduate Student/Sysadmin
bofh@bofh.me.umn.edu			University of MN, ME Dept

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com

Reply to: