Subject: RE: empty installed directories
To: Brook Milligan <brook@trillium.NMSU.Edu>
From: Tim Rightnour <root@garbled.net>
List: tech-pkg
Date: 11/10/1998 16:28:32
On 10-Nov-98 Brook Milligan spoke unto us all:
#  Any suggestions on how to proceed here?  Which approach makes the most
#  sense?

If you *want* to keep the empty directory:

post-install:
        ${TOUCH} ${PREFIX}/foo/.keep_me
(and add to PLIST)

if you do not want the empty directory:

post-install:
        ${RM} -d ${PREFIX}/foo
(and remove from the PLIST)

The binary pkg is basicly made from the contents of the PLIST, what isn't
listed, will not be included.

---
Tim Rightnour  -  root@garbled.net
Free Multi-Platform Operating System: http://www.netbsd.org
NetBSD Mailing lists on the web: http://mail-index.netbsd.org/mlist