[PC-BSD Commits] r12839 - pcbsd/current/system-overlay/usr/local/share/pcbsd/xstartup

svn at pcbsd.org svn at pcbsd.org
Mon Sep 19 08:10:26 PDT 2011


Author: kris
Date: 2011-09-19 08:10:26 -0700 (Mon, 19 Sep 2011)
New Revision: 12839

Modified:
   pcbsd/current/system-overlay/usr/local/share/pcbsd/xstartup/enable-ibus.sh
Log:

Fix enabling of ibus with GDM



Modified: pcbsd/current/system-overlay/usr/local/share/pcbsd/xstartup/enable-ibus.sh
===================================================================
--- pcbsd/current/system-overlay/usr/local/share/pcbsd/xstartup/enable-ibus.sh	2011-09-19 15:09:54 UTC (rev 12838)
+++ pcbsd/current/system-overlay/usr/local/share/pcbsd/xstartup/enable-ibus.sh	2011-09-19 15:10:26 UTC (rev 12839)
@@ -6,12 +6,9 @@
 # Do not modify below
 ##########################################################################
 
-# Check kdm language
-KDMLANG="`cat /usr/local/share/config/kdm/kdmrc | grep '^Language=' | cut -d '=' -f 2 | cut -d '.' -f 1`"
-
-# Check if we are using a lang which needs ibus
-case ${KDMLANG} in
-  ja_JP|ko_KR|zh_CN|zh_TW) ENABLE="YES" ;;
+# Check if this lang needs ibus
+case ${GDM_LANG} in
+  ja_JP*|ko_KR*|zh_CN*|zh_TW*) ENABLE="YES" ;;
   *) ENABLE="NO" ;;
 esac
 



More information about the Commits mailing list