On Fri, Dec 03, 1999 at 09:58:46AM -0500, Raul Miller wrote: > > * This seems self-contradictory. Are you supposed to remove the created > > directories or not? > > > > However, the package should create empty directories below > > `/usr/local' so that the system administrator knows where to place > > site-specific files. These directories should be removed on package > > > > removal if they are empty. > > > > Note, that this applies only to directories _below_ `/usr/local', not > > > > _in_ `/usr/local'. The directory `/usr/local' itself may only contain > > > > the sub-directories listed in FHS, section 4.6. However, you may > > create directories below them as you wish. You may not remove any of > > > > the directories listed in 4.6, even if you created them. > > I think this means that if there's a /usr/local/lib and you respect a > /usr/local/lib/gobble then you should create this directory. But if > /usr/local/lib doesn't exist you shouldn't.
Not quite: if you created /usr/local/lib/gobble, then on package purge/removal, you may rmdir /usr/local/lib/gobble 2>/dev/null || true but you may not rmdir /usr/local/lib even if /usr/local/lib didn't exist when you installed the package. Julian -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Julian Gilbey, Dept of Maths, QMW, Univ. of London. [EMAIL PROTECTED] Debian GNU/Linux Developer, see http://www.debian.org/~jdg Donate free food to the world's hungry: see http://www.thehungersite.com/