diff options
author | Bill Nottingham <notting@redhat.com> | 2004-08-18 15:57:54 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2004-08-18 15:57:54 +0000 |
commit | 9c706f8bad8439ac35a467bbd3672b90b0a6c7c0 (patch) | |
tree | 03715cc67edff6de3d75b63cbe8a24a25d022798 | |
parent | 903bc93eec508359479d00b11a3e5331a414c40f (diff) | |
download | initscripts-9c706f8bad8439ac35a467bbd3672b90b0a6c7c0.tar initscripts-9c706f8bad8439ac35a467bbd3672b90b0a6c7c0.tar.gz initscripts-9c706f8bad8439ac35a467bbd3672b90b0a6c7c0.tar.bz2 initscripts-9c706f8bad8439ac35a467bbd3672b90b0a6c7c0.tar.xz initscripts-9c706f8bad8439ac35a467bbd3672b90b0a6c7c0.zip |
don't remove linguas (part of #9733)
-rwxr-xr-x | lang.csh | 5 | ||||
-rwxr-xr-x | lang.sh | 10 |
2 files changed, 1 insertions, 14 deletions
@@ -25,11 +25,6 @@ if ($sourced == 1) then unsetenv LC_ALL endif endif - if ($?LINGUAS && $?LANG) then - if ($LINGUAS == $LANG) then - unsetenv LINGUAS - endif - endif if ($?CHARSET) then switch ($CHARSET) @@ -38,15 +38,7 @@ if [ "$sourced" = 1 ]; then unset LC_ALL fi [ -n "$LANGUAGE" ] && export LANGUAGE || unset LANGUAGE - if [ -n "$LINGUAS" ]; then - if [ "$LINGUAS" != "$LANG" ]; then - export LINGUAS - else - unset LINGUAS - fi - else - unset LINGUAS - fi + [ -n "$LINGUAS" ] && export LINGUAS || unset LINGUAS [ -n "$_XKB_CHARSET" ] && export _XKB_CHARSET || unset _XKB_CHARSET if [ -n "$CHARSET" ]; then |