[arch-projects] [initscripts][RFC][PATCH] locale.sh: add support for user-specific locale.conf, drop DAEMON_LOCALE

Tom Gundersen teg at jklm.no
Fri Aug 24 13:44:26 EDT 2012


On Fri, Aug 24, 2012 at 7:02 PM, Dave Reisner <d at falconindy.com> wrote:
> Still, I guess my point is that we should be testing for the presence of
> variables before trying to expand them.
>
> if [ -n "$HOME" ] && [ -s "$HOME/.config/locale.conf ]; then

I agree. Will post a new version.

>> The way XDG_* is set is just messed up. One might hope that one day it
>> will be done better (say by a pam module). Shouldn't need to be part
>> of xorg, it is useful even with no graphical login.
>>
>
> I think other distros might order scripts by number. I've always thought
> that /etc/profile.d stuff is pretty ridiculous, but it's also roughly
> par for the course when you're talking about anything involving shell.

Sure, but most of these things are not shell-specific, so I hope
something better will come along...

-t


More information about the arch-projects mailing list