aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-04-12 20:02:57 +0000
committerBill Nottingham <notting@redhat.com>2002-04-12 20:02:57 +0000
commit77eb67ee2284f721c51512a079f0357d765e6c96 (patch)
treeba456cc7c2bbb2bb659f94b78a477902ebf63d84
parent93f1f33c1a0b01e5d257527d79ce2e407ca8ac0d (diff)
downloadinitscripts-77eb67ee2284f721c51512a079f0357d765e6c96.tar
initscripts-77eb67ee2284f721c51512a079f0357d765e6c96.tar.gz
initscripts-77eb67ee2284f721c51512a079f0357d765e6c96.tar.bz2
initscripts-77eb67ee2284f721c51512a079f0357d765e6c96.tar.xz
initscripts-77eb67ee2284f721c51512a079f0357d765e6c96.zip
export the entire gamut of locale variables (#56142)
-rwxr-xr-xlang.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang.sh b/lang.sh
index 72d2f095..4980f9e1 100755
--- a/lang.sh
+++ b/lang.sh
@@ -12,11 +12,17 @@ fi
if [ "$sourced" = 1 ]; then
[ -n "$LANG" ] && export LANG || unset LANG
+ [ -n "$LC_ADDRESS" ] && export LC_ADDRESS || unset LC_ADDRESS
[ -n "$LC_CTYPE" ] && export LC_CTYPE || unset LC_CTYPE
[ -n "$LC_COLLATE" ] && export LC_COLLATE || unset LC_COLLATE
+ [ -n "$LC_IDENTIFICATION" ] && export LC_IDENTIFICATION || unset LC_IDENTIFICATION
+ [ -n "$LC_MEASUREMENT" ] && export LC_MEASUREMENT || unset LC_MEASUREMENT
[ -n "$LC_MESSAGES" ] && export LC_MESSAGES || unset LC_MESSAGES
- [ -n "$LC_NUMERIC" ] && export LC_NUMERIC || unset LC_NUMERIC
[ -n "$LC_MONETARY" ] && export LC_MONETARY || unset LC_MONETARY
+ [ -n "$LC_NAME" ] && export LC_NAME || unset LC_NAME
+ [ -n "$LC_NUMERIC" ] && export LC_NUMERIC || unset LC_NUMERIC
+ [ -n "$LC_PAPER" ] && export LC_PAPER || unset LC_PAPER
+ [ -n "$LC_TELEPHONE" ] && export LC_TELEPHONE || unset LC_TELEPHONE
[ -n "$LC_TIME" ] && export LC_TIME || unset LC_TIME
if [ -n "$LC_ALL" ]; then
if [ "$LC_ALL" != "$LANG" ]; then