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

svn at pcbsd.org svn at pcbsd.org
Wed Jul 16 13:25:59 PDT 2008


Author: kris
Date: 2008-07-16 13:25:58 -0700 (Wed, 16 Jul 2008)
New Revision: 2362

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

Added a call to update-mime-database during teh install, which will make the 
PBI thumbnail plugin work fine



Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh	2008-07-16 20:10:49 UTC (rev 2361)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh	2008-07-16 20:25:58 UTC (rev 2362)
@@ -130,6 +130,18 @@
 # Make sure each dir is "chowned" properly
 /usr/local/pcbsd/scripts/PCBSD.SetUserPerms.sh
 
+# Any post install stuff here
+echo "#!/bin/sh
+cd /usr/local/share/mime
+update-mime-database /usr/local/share/mime
+" >${FSMNT}/tmp/RunOnSys.sh
+
+chmod 755 ${FSMNT}/tmp/RunOnSys.sh
+chroot ${FSMNT} /tmp/RunOnSys.sh
+
+rm ${FSMNT}/tmp/RunOnSys.sh
+
+
 # Make sure we set any final ZFS options if we need it
 if [ -e "/uzip/ZFS-root" ]
 then



More information about the Commits mailing list