From owner-freebsd-ports Thu May 18 9:53:29 2000 Delivered-To: freebsd-ports@freebsd.org Received: from rock.ghis.net (rock.ghis.net [209.222.164.7]) by hub.freebsd.org (Postfix) with ESMTP id 0C75337BDC3 for ; Thu, 18 May 2000 09:53:26 -0700 (PDT) (envelope-from will@blackdawn.com) Received: from argon.blackdawn.com ([209.69.76.145]) by rock.ghis.net (8.9.3/8.9.3) with ESMTP id JAA48426; Thu, 18 May 2000 09:53:22 -0700 (PDT) Received: by argon.blackdawn.com (Postfix, from userid 1000) id 1119A1932; Thu, 18 May 2000 12:53:05 -0400 (EDT) Date: Thu, 18 May 2000 12:53:05 -0400 From: Will Andrews To: Christian Weisgerber Cc: freebsd-ports@FreeBSD.ORG Subject: Re: Symlinks to directories and PLIST? Message-ID: <20000518125304.A38059@argon.blackdawn.com> References: <20000518162815.A32408@fettuccini.unix-ag.uni-kl.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000518162815.A32408@fettuccini.unix-ag.uni-kl.de>; from naddy@unix-ag.uni-kl.de on Thu, May 18, 2000 at 04:28:15PM +0200 X-Operating-System: FreeBSD 5.0-CURRENT i386 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, May 18, 2000 at 04:28:15PM +0200, Christian Weisgerber wrote: > I have an application here that insists on creating symlinks to > directories, e.g. > > share/App/nls/C/ > share/App/nls/en -> C > share/App/nls/en_US -> C > > How to handle these in the PLIST? @unexec rm -f %D/share/App/nls/en @unexec rm -f %D/share/App/nls/en_US @dirrm share/app/nls/C/ IMHO, nls (and other kinds of things) should be handled by MTREE, not PLISTs, because they are general information.. too many programs of all disciplines use these directories.. it's not a great idea to put these in the PLISTs, too much ``@unexec rmdir %D/... || true'' crap fills the PLISTs if we do that.. and it'd be much easier just to do it once in a mtree file instead.. -- Will Andrews GCS/E/S @d- s+:+>+:- a--->+++ C++ UB++++ P+ L- E--- W+++ !N !o ?K w--- ?O M+ V-- PS+ PE++ Y+ PGP+>+++ t++ 5 X++ R+ tv+ b++>++++ DI+++ D+ G++>+++ e->++++ h! r-->+++ y? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message