/[smeserver]/rpms/initscripts/sme8/40e9f12f.patch
ViewVC logotype

Contents of /rpms/initscripts/sme8/40e9f12f.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sat Sep 17 21:24:24 2011 UTC (13 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: initscripts-8_45_38-2_el5_sme, initscripts-8_45_38-2_el5_centos
Branch point for: redhat-upstream
Upstream import

1 commit 40e9f12f726fe72374172fae103673da7387ca98
2 Author: Bill Nottingham <notting@redhat.com>
3 Date: Fri Jun 24 10:03:11 2011 -0400
4
5 Make sure we override LANG if we're being run from xinit/startx (#713988, <tatsu@ab.jp.nec.com>)
6
7 diff --git a/lang.sh b/lang.sh
8 index cf02a61..bd798a1 100755
9 --- a/lang.sh
10 +++ b/lang.sh
11 @@ -2,7 +2,9 @@
12
13 sourced=0
14
15 -if [ -n "$LANG" ]; then
16 +# $sysxkbmap means we're running under Xinit; we want to re-read settings in case
17 +# we're running in CJKI and have been defaulted to English on the console.
18 +if [ -z "$sysxkbmap" -a -n "$LANG" ]; then
19 sourced=1
20 else
21 for langfile in /etc/sysconfig/i18n $HOME/.i18n ; do

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed