tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: installing empty directories
On Tue, Mar 20, 2012 at 09:56:16AM -0600, Brook Milligan wrote:
> I have a package that needs to install a directory that is initially
> empty but may later be filled. Just adding it to INSTALLATION_DIRS does
> not get it installed. I'm guessing there is some logic for ignoring
> empty directories.
>
> Is there a sanctioned method for getting such a directory installed?
The answer depends a bit on the location and ownership of the directory.
E.g. if it is a module directory that just needs to be present under
$PREFIX, @pkgdir in PLIST is the best option. If it is outside $PREFIX,
e.g. under etc or var, OWNER_DIRS / REQD_DIRS / MAKE_DIRS are options.
Joerg
Home |
Main Index |
Thread Index |
Old Index