Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2003 10:37:39 -0600
From:      Pete Fritchman <petef@absolutbsd.org>
To:        Edwin Groothuis <edwin@mavetju.org>
Cc:        portmgr@freebsd.org, Erwin Lansing <erwin@lansing.dk>, ports@freebsd.org
Subject:   Re: pkg-plist - dirrm on shared dirs?
Message-ID:  <20030120163739.GA9751@absolutbsd.org>
In-Reply-To: <20030120120127.GP50581@k7.mavetju>
References:  <20030120105343.GA23663@raq15.uk2net.com> <20030120110112.GC12043@droso.net> <20030120120127.GP50581@k7.mavetju>

next in thread | previous in thread | raw e-mail | index | archive | help
++ 20/01/03 23:01 +1100 - Edwin Groothuis:
| > Most ports use this "dirrm if empty" like:
| > @unexec rmdir %D/share/java 2>/dev/null || true
| 
| I was wondering if there could come a new command for it, @dirrmfailok
| or something. It would save a lot of typing and typos (what %D?)

%D is the prefix.  I think @trydirrm would be a bit cleaner... and
probably not too hard to implement.  I'll try to take a look at it
later, if people don't have objections or better ideas.

--pete


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030120163739.GA9751>