Subject: None
To: None <tech-pkg@netbsd.org>
From: John Refling <johnr@imageworks.com>
List: tech-pkg
Date: 08/17/2001 13:59:40
If empty subdirs are not allowed, then probably a good
idea to put this fact in the package builders guide, if
not already there, ie, that the builder is responsible for
either removing them in the install stage, or putting in
@unexec rmdir %D/... commands.


>>>  Question:  I have a package which I am working on, and
>>>  it creates some empty subdirectories in its tree under
>>>  ${PREFIX}.
>>>  
>>>  I can uninstall the package successfully from the initial
>>>  "make install" only if those empty subdirs are listed in
>>>  the PLIST.
>>>  
>>>  However, I can only uninstall the package successfully
>>>  from a subsequent "pkg_add pkg_name.tgz" if these empty
>>>  subdirs are NOT listed in the PLIST, since they are not
>>>  extracted by tar during pkg_add.
>>>  
>>>  Did I miss something here?