Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2000 12:53:05 -0400
From:      Will Andrews <andrews@technologist.com>
To:        Christian Weisgerber <naddy@unix-ag.uni-kl.de>
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: Symlinks to directories and PLIST?
Message-ID:  <20000518125304.A38059@argon.blackdawn.com>
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 %2B0200
References:  <20000518162815.A32408@fettuccini.unix-ag.uni-kl.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <andrews@technologist.com>
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




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