aboutsummaryrefslogtreecommitdiffstats
path: root/lang.csh
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-08-10 15:23:49 +0000
committerBill Nottingham <notting@redhat.com>2001-08-10 15:23:49 +0000
commit8fc6ffc2ae258a35fa632faa199ed3001e2c09a5 (patch)
tree4a931d2b9d14861111cd0b40987d3b23676128f5 /lang.csh
parent13e70d831aa88777f7de3a16985e976a07b05956 (diff)
downloadinitscripts-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.csh')
-rwxr-xr-xlang.csh5
1 files changed, 5 insertions, 0 deletions
diff --git a/lang.csh b/lang.csh
index 02e28e64..8072afc1 100755
--- a/lang.csh
+++ b/lang.csh
@@ -8,6 +8,11 @@ foreach file (/etc/sysconfig/i18n $HOME/.i18n)
set sourced=1
end
+if ($?GDM_LANG) then
+ set sourced=1
+ set LANG=$GDM_LANG
+endif
+
if ($sourced == 1) then
if ($?LC_ALL && $?LANG) then
if ($LC_ALL == $LANG) then