[PC-BSD Commits] r7536 - pcbsd/current/src-qt4/pc-xgui/resources/bin

svn at pcbsd.org svn at pcbsd.org
Fri Sep 10 11:49:51 PDT 2010


Author: kris
Date: 2010-09-10 11:49:50 -0700 (Fri, 10 Sep 2010)
New Revision: 7536

Modified:
   pcbsd/current/src-qt4/pc-xgui/resources/bin/rundetect.sh
Log:

Only source the langs if it exists



Modified: pcbsd/current/src-qt4/pc-xgui/resources/bin/rundetect.sh
===================================================================
--- pcbsd/current/src-qt4/pc-xgui/resources/bin/rundetect.sh	2010-09-10 18:43:14 UTC (rev 7535)
+++ pcbsd/current/src-qt4/pc-xgui/resources/bin/rundetect.sh	2010-09-10 18:49:50 UTC (rev 7536)
@@ -18,7 +18,9 @@
 XLOG="/tmp/xsetup.log" ; export XLOG
 
 # Source the language version
-. /usr/PCBSD/LANGS/PCBSDLANG 2>/dev/null
+if [ -e "/usr/PCBSD/LANGS/PCBSDLANG" ] ; then
+  . /usr/PCBSD/LANGS/PCBSDLANG 2>/dev/null
+fi
 
 # Program Directory
 PROGDIR="/usr/local/share/pcbsd/xorg-gui" ; export PROGDIR



More information about the Commits mailing list