From 9c706f8bad8439ac35a467bbd3672b90b0a6c7c0 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 18 Aug 2004 15:57:54 +0000 Subject: don't remove linguas (part of #9733) --- lang.csh | 5 ----- lang.sh | 10 +--------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/lang.csh b/lang.csh index 333463f7..a5185419 100755 --- a/lang.csh +++ b/lang.csh @@ -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) diff --git a/lang.sh b/lang.sh index 94a3f296..4f9d2f5d 100755 --- a/lang.sh +++ b/lang.sh @@ -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 -- cgit v1.2.1