[PC-BSD Commits] r3106 - pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts

svn at pcbsd.org svn at pcbsd.org
Thu Dec 18 06:16:19 PST 2008


Author: kris
Date: 2008-12-18 06:16:19 -0800 (Thu, 18 Dec 2008)
New Revision: 3106

Modified:
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.AddUser.sh
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.Localize.sh
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh
Log:

Updated some install scripts to use new LOCALBASE properly



Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.AddUser.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.AddUser.sh	2008-12-18 14:16:00 UTC (rev 3105)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.AddUser.sh	2008-12-18 14:16:19 UTC (rev 3106)
@@ -39,16 +39,16 @@
 then
 
 # Add the auto-login user line
-sed -e "s/AutoLoginUser=/AutoLoginUser=${FirstUser}/g" ${FSMNT}/usr/local/kde4/share/config/kdm/kdmrc  > ${FSMNT}/tmp/sed
+sed -e "s/AutoLoginUser=/AutoLoginUser=${FirstUser}/g" ${FSMNT}/PCBSD/local/kde4/share/config/kdm/kdmrc  > ${FSMNT}/tmp/sed
 
-mv ${FSMNT}/tmp/sed ${FSMNT}/usr/local/kde4/share/config/kdm/kdmrc
+mv ${FSMNT}/tmp/sed ${FSMNT}/PCBSD/local/kde4/share/config/kdm/kdmrc
 
 else
 
 # Add the auto-login user line
-sed -e "s/AutoLoginEnable=true/AutoLoginEnable=false/g" ${FSMNT}/usr/local/kde4/share/config/kdm/kdmrc  > ${FSMNT}/tmp/sed
+sed -e "s/AutoLoginEnable=true/AutoLoginEnable=false/g" ${FSMNT}/PCBSD/local/kde4/share/config/kdm/kdmrc  > ${FSMNT}/tmp/sed
 
-mv ${FSMNT}/tmp/sed ${FSMNT}/usr/local/kde4/share/config/kdm/kdmrc
+mv ${FSMNT}/tmp/sed ${FSMNT}/PCBSD/local/kde4/share/config/kdm/kdmrc
 
 fi
 

Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.Localize.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.Localize.sh	2008-12-18 14:16:00 UTC (rev 3105)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.Localize.sh	2008-12-18 14:16:19 UTC (rev 3106)
@@ -172,8 +172,8 @@
 
 #Change KDM Langs
 ##########################################################################
-sed -e "s/Language=en_US/Language=${SETKDMLANG}/g" ${FSMNT}/usr/local/kde4/share/config/kdm/kdmrc > ${FSMNT}/tmp/sed
-mv ${FSMNT}/tmp/sed ${FSMNT}/usr/local/kde4/share/config/kdm/kdmrc
+sed -e "s/Language=en_US/Language=${SETKDMLANG}/g" ${FSMNT}/PCBSD/local/kde4/share/config/kdm/kdmrc > ${FSMNT}/tmp/sed
+mv ${FSMNT}/tmp/sed ${FSMNT}/PCBSD/local/kde4/share/config/kdm/kdmrc
 
 # Change the profile and csh.cshrc file
 ###########################################################################

Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh	2008-12-18 14:16:00 UTC (rev 3105)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh	2008-12-18 14:16:19 UTC (rev 3106)
@@ -132,8 +132,8 @@
 
 # Any post install stuff here
 echo "#!/bin/sh
-cd /usr/local/share/mime
-update-mime-database /usr/local/share/mime
+cd /PCBSD/local/share/mime
+update-mime-database /PCBSD/local/share/mime
 " >${FSMNT}/tmp/RunOnSys.sh
 
 chmod 755 ${FSMNT}/tmp/RunOnSys.sh



More information about the Commits mailing list