[PC-BSD Commits] r405 - pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts
svn at pcbsd.org
svn at pcbsd.org
Sun Jul 1 11:35:43 PDT 2007
Author: kris
Date: 2007-07-01 19:35:43 +0100 (Sun, 01 Jul 2007)
New Revision: 405
Modified:
pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh
Log:
Change to ensure the localize script does run properly
Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh 2007-06-30 09:25:09 UTC (rev 404)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh 2007-07-01 18:35:43 UTC (rev 405)
@@ -32,17 +32,15 @@
cp /mnt/PCBSD/splash-screens/loading-screen-en.pcx /mnt/boot/loading-screen.pcx
# Setup the Localization
-if [ "${LANG}" ]
+if [ "${LANG}" != "en" ]
then
- if [ "${LANG}" != "en" ]
- then
- # Copy the right splash screen over
- cp /mnt/PCBSD/splash-screens/loading-screen-${LANG}.pcx /mnt/boot/loading-screen.pcx
- # Run the Localize script
- /usr/local/pcbsd/scripts/PCBSD.Localize.sh ${LANG} ${3}
- fi
+ # Copy the right splash screen over
+ cp /mnt/PCBSD/splash-screens/loading-screen-${LANG}.pcx /mnt/boot/loading-screen.pcx
+ # Run the Localize script
+ /usr/local/pcbsd/scripts/PCBSD.Localize.sh ${LANG} ${3}
fi
+
# Copy over the working xorg.conf file from the install CD to the booted
# system. This will allow us to run the Xorg configuration tool at first boot
cp /etc/X11/xorg.conf /mnt/etc/X11/xorg.conf
More information about the Commits
mailing list