aboutsummaryrefslogtreecommitdiffstats
path: root/lang.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lang.sh')
-rwxr-xr-xlang.sh10
1 files changed, 1 insertions, 9 deletions
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