Subject: Re: dirrm and common directories
To: None <tech-pkg@netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: tech-pkg
Date: 06/08/2002 14:16:27
[ On Saturday, June 8, 2002 at 12:46:07 (+0200), Thomas Klausner wrote: ]
> Subject: Re: dirrm and common directories
>
> On Sat, Jun 08, 2002 at 05:43:26AM -0500, Frederick Bruckman wrote:
> > The usual fix is to do "@rmdir %D/include/package || true" instead of
> > "@rmdir include/package" in each package, everywhere it comes up.
> > "pkglint" will complain about that. The real problem with that, is
> > that the maintainer has to know, somehow, that that directory is used
> > by another package.
> 
> For the record, it's
> 	@unexec ${RMDIR} %D/include/package 2>/dev/null || true
> instead of
> 	@dirrm include/package

As Fredrick said:  "The real problem with that, is that the maintainer
has to know, somehow, that that directory is used by another package." :-)

-- 
								Greg A. Woods

+1 416 218-0098;  <gwoods@acm.org>;  <g.a.woods@ieee.org>;  <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>