aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristian Gafton <gafton@redhat.com>1998-10-12 20:47:03 +0000
committerCristian Gafton <gafton@redhat.com>1998-10-12 20:47:03 +0000
commit95000d2e17ed8e1acca95d70766ac43f335140dd (patch)
treeff5a0efa5d4b2054d3677b9dd2ad3644797cfa3f
parent2d21d78c1ad660a52be2f22bbb0bc15094c87a3b (diff)
downloadinitscripts-95000d2e17ed8e1acca95d70766ac43f335140dd.tar
initscripts-95000d2e17ed8e1acca95d70766ac43f335140dd.tar.gz
initscripts-95000d2e17ed8e1acca95d70766ac43f335140dd.tar.bz2
initscripts-95000d2e17ed8e1acca95d70766ac43f335140dd.tar.xz
initscripts-95000d2e17ed8e1acca95d70766ac43f335140dd.zip
Handle LC_ALLr3-76
-rw-r--r--initscripts.spec5
-rwxr-xr-xlang.sh4
-rw-r--r--sysconfig.txt1
3 files changed, 9 insertions, 1 deletions
diff --git a/initscripts.spec b/initscripts.spec
index 14cf893c..32529e10 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -1,6 +1,6 @@
Summary: inittab and /etc/rc.d scripts
Name: initscripts
-%define version 3.75
+%define version 3.76
Version: %{version}
Copyright: GPL
Group: Base
@@ -155,6 +155,9 @@ rm -rf $RPM_BUILD_ROOT
%doc sysconfig.txt
%changelog
+* Mon Oct 12 1998 Cristian Gafton <gafton@redhat.com>
+- handle LC_ALL
+
* Mon Oct 12 1998 Preston Brown <pbrown@redhat.com>
- adjusted setsysfont to always run setfont, even if only w/default font
diff --git a/lang.sh b/lang.sh
index c6189c07..91eb3f68 100755
--- a/lang.sh
+++ b/lang.sh
@@ -6,6 +6,10 @@ if [ -f /etc/sysconfig/i18n ]; then
if [ -n "$LANG" ]; then
export LANG
fi
+
+ if [ -n "$LC_ALL" ]; then
+ export LC_ALL
+ fi
if [ -n "$LINGUAS" ]; then
export LINGUAS
diff --git a/sysconfig.txt b/sysconfig.txt
index c34919aa..aa0b5650 100644
--- a/sysconfig.txt
+++ b/sysconfig.txt
@@ -296,6 +296,7 @@ Files in /etc/sysconfig/network-scripts/
/etc/sysconfig/i18n
LANG= can be any two letter ISO language code
+ LC_ALL= is the setting of the localedata configuration (eg fr_CA)
LINGUAS= can be a : separated list of language codes
SYSTERM= use to set default TERM environment variable