Subject: Re: empty installed directories
To: Brook Milligan <brook@trillium.NMSU.Edu>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: tech-pkg
Date: 11/11/1998 04:13:49
On Tue, 10 Nov 1998, Brook Milligan wrote:
> - create a .keep_me file for insertion in the directory (i.e., follow
>   the NetBSD kernel compile model) and list it in PLIST along with
>   @dirrm.
> 
> - modify the installation procedure to never install the empty
>   directory in the first place, i.e., no need for a file in PLIST or
>   for @dirrm.
> 
> - include @exec mkdir ... and @dirrm in PLIST so the binary package
>   will create and delete it just like the native installation.
> 
> Any suggestions on how to proceed here?  Which approach makes the most
> sense?

the third is what i've used so far.
the second is likely to break if something goes for that directory
and assumes it's there.
the first would be ok, too, but is slightly less efficient than #3.


 - Hubert

-- 
Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de>