diff options
-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 |