[arch-projects] [initscripts] [PATCH 11/11] functions: Simplify LC_* unsetting

Kurt J. Bosch kjb-temp-2009 at alpenjodel.de
Sun Jul 3 16:15:12 EDT 2011


Seblu, 2011-07-03 19:42:
> On Sat, Jul 2, 2011 at 8:44 PM, Kurt J. Bosch
> <kjb-temp-2009 at alpenjodel.de>  wrote:
>> ---
>>   functions |    4 +---
>>   1 files changed, 1 insertions(+), 3 deletions(-)
>>
>> diff --git a/functions b/functions
>> index 8d303e8..1985170 100644
>> --- a/functions
>> +++ b/functions
>> @@ -64,9 +64,7 @@ unset TERM_COLORS
>>   unset TZ
>>
>>   # sanitize the locale settins
>> -unset LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY \
>> -      LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE \
>> -      LC_MEASUREMENT LC_IDENTIFICATION LC_ALL
>> +unset "${!LC_@}"
>>   if [[ $DAEMON_LOCALE = [yY][eE][sS]&&  $LOCALE ]]; then
>>         export LANG="${LOCALE}"
>>   else
>
> Still no. Do you will send this patch until it will be accepted ?
>
>
Sorry for spamming you. I just intended to make Toms live a bit easier 
who wanted to review the remaining old patches when back, but this one 
is about cosmetics anyway. (Do we have any girls here?)

-- 
Kurt


More information about the arch-projects mailing list