diff options
author | Bill Nottingham <notting@redhat.com> | 2001-08-10 15:23:49 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-08-10 15:23:49 +0000 |
commit | 8fc6ffc2ae258a35fa632faa199ed3001e2c09a5 (patch) | |
tree | 4a931d2b9d14861111cd0b40987d3b23676128f5 /lang.sh | |
parent | 13e70d831aa88777f7de3a16985e976a07b05956 (diff) | |
download | initscripts-8fc6ffc2ae258a35fa632faa199ed3001e2c09a5.tar initscripts-8fc6ffc2ae258a35fa632faa199ed3001e2c09a5.tar.gz initscripts-8fc6ffc2ae258a35fa632faa199ed3001e2c09a5.tar.bz2 initscripts-8fc6ffc2ae258a35fa632faa199ed3001e2c09a5.tar.xz initscripts-8fc6ffc2ae258a35fa632faa199ed3001e2c09a5.zip |
allow GDM_LANG to override system settings (#51432)
Diffstat (limited to 'lang.sh')
-rwxr-xr-x | lang.sh | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -5,6 +5,11 @@ for langfile in /etc/sysconfig/i18n $HOME/.i18n ; do [ -f $langfile ] && . $langfile && sourced=1 done +if [ -n "$GDM_LANG" ]; then + sourced=1 + LANG="$GDM_LANG" +fi + if [ "$sourced" = 1 ]; then [ -n "$LANG" ] && export LANG || unset LANG [ -n "$LC_CTYPE" ] && export LC_CTYPE || unset LC_CTYPE |