[PC-BSD Commits] r6265 - pcbsd/trunk/pc-sysinstall/backend

svn at pcbsd.org svn at pcbsd.org
Tue Feb 16 11:23:09 PST 2010


Author: kris
Date: 2010-02-16 11:23:09 -0800 (Tue, 16 Feb 2010)
New Revision: 6265

Modified:
   pcbsd/trunk/pc-sysinstall/backend/functions-localize.sh
Log:

Added support for localized splash screen



Modified: pcbsd/trunk/pc-sysinstall/backend/functions-localize.sh
===================================================================
--- pcbsd/trunk/pc-sysinstall/backend/functions-localize.sh	2010-02-16 19:19:31 UTC (rev 6264)
+++ pcbsd/trunk/pc-sysinstall/backend/functions-localize.sh	2010-02-16 19:23:09 UTC (rev 6265)
@@ -27,6 +27,12 @@
   ##########################################################################
   sed -i.bak "s/Language=en_US/Language=${LOCALE}.UTF-8/g" ${FSMNT}/usr/local/kde4/share/config/kdm/kdmrc
 
+  # Check if we have a localized splash screen and copy it
+  if [ -e "${FSMNT}/usr/PCBSD/splash-screens/loading-screen-${SETLANG}.pcx" ]
+  then
+    cp ${FSMNT}/usr/PCBSD/splash-screens/loading-screen-${SETLANG}.pcx ${FSMNT}/boot/loading-screen.pcx    
+  fi
+
 };
 
 localize_x_keyboard()



More information about the Commits mailing list