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

Re: Regarding /usr/local with private packages



On Tue, Mar 08, 2005 at 12:25:25PM +0100, Christian Hammers wrote:

> I feel a little stupid... :) 
> I'm building a private(!) package with files in /usr/local/bin for a host 
> where /usr/local/ is a symlink.  Whenever I remove the package the symlink 
> gets removed by dpkg although there are plenty of (non-Debian maintained) 
> files in /usr/local.

Don't have a package create files in /usr/local - it's against policy:
<http://www.debian.org/doc/debian-policy/ch-opersys.html#s9.1.2>.
It doesn't really matter that the package is not for public consumption;
it is still useful to comply with the policy documents to avoid this
sort of brokenness. "local" here means "not managed by the OS package
manager" rather than "not supplied with the OS".

Cheers,

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)



Reply to: