Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Mar 2002 11:12:00 +0100 (CET)
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        corecode@corecode.ath.cx
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: what to do with share/locale/*/LC_MESSAGES ?
Message-ID:  <200203101012.g2AAC0Io000570@Magelan.Leidinger.net>
In-Reply-To: <20020309191156.3d13b330.corecode@corecode.ath.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
On  9 Mär, Simon 'corecode' Schubert wrote:

>> > the makefile creates share/locale/*/LC_MESSAGES. now these dirs don't
>> > appear in /etc/mtree/*.
>> > i suppose these dirs should not be removed, but: where is this written
>> > down? if not, please do so (porter's handbook?).
>> 
>> The common practice for those dirs is to put something like this into
>> pkg-plist:
>> ---snip---
>> @unexec rmdir %D/share/locale/cs/LC_MESSAGES 2>/dev/null || true
>> @unexec rmdir %D/share/locale/cs 2>/dev/null || true
>> ---snip---
> 
> uhm, looks like this practise is somehow uncommon...
> 
> $ locate pkg-plist | xargs grep -l '^@.*rm.*LC_MESSAGES$' | wc -l
>       36
> $ locate pkg-plist | xargs grep -l '^[^@].*LC_MESSAGES.\+$' | wc -l
>      349

Ok, I haven't verified if it really is common or not, but I was told to
do it this way. And from the wording of this advise I had the impression
it is common practice to do it this way.

Bye,
Alexander.

-- 
                   It's not a bug, it's tradition!

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7


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?200203101012.g2AAC0Io000570>