Why can't pkg-plist list directories?

Edwin Groothuis edwin at mavetju.org
Thu Apr 28 01:03:48 PDT 2005

On Thu, Apr 28, 2005 at 12:08:41AM +1000, Sam Lawrance wrote:
> Aside from the fact that the pkg_* tools don't currently support it, is
> there a reason why we use @dirrm in packing lists rather than just
> listing the directories?


If I copy a file to etc/foo where foo is a directory, but I forgot
to create the directory first I end up with the file foo in etc/.
Having the pkg-plist explicitely stating it as a directory, it will
throw an error and the maintainer (and eeeeeeverybody else) will
know he made a mistake.


Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin at mavetju.org    |          Weblog: http://weblog.barnet.com.au/edwin/

More information about the freebsd-ports mailing list