[PC-BSD Commits] r3359 - in pbibuild/modules/firefox3: . overlay-dir

svn at pcbsd.org svn at pcbsd.org
Wed Jan 28 13:00:55 PST 2009


Author: kris
Date: 2009-01-28 13:00:54 -0800 (Wed, 28 Jan 2009)
New Revision: 3359

Added:
   pbibuild/modules/firefox3/overlay-dir/mimeTypes.rdf
Modified:
   pbibuild/modules/firefox3/build.sh
Log:

Updated firefox3 module, to include a new method of setting the default e-mail client

uses a new mimeTypes.rdf file, to set the users preference for e-mail



Modified: pbibuild/modules/firefox3/build.sh
===================================================================
--- pbibuild/modules/firefox3/build.sh	2009-01-28 20:40:58 UTC (rev 3358)
+++ pbibuild/modules/firefox3/build.sh	2009-01-28 21:00:54 UTC (rev 3359)
@@ -19,6 +19,6 @@
 # Copy over the lang-packs
 tar cvf - -C /usr/local/lib/xpi/ . | tar xvf - -C ${PBIDIR}/autolibs/firefox3/extensions/
 
-# Now append our prefs file with the default email script
-echo "pref(\"network.protocol-handler.app.mailto\", \"/Programs/Firefox${PORTVER}/bin/defaultemail\");" >> ${PBIDIR}/autolibs/firefox3/greprefs/all.js
-
+# We need to setup the mimeTypes.rdf file, so that FF3 can use the defaultemail script
+sed -e "s,CHANGEME,Firefox${PORTVER},g" ${PBIDIR}/mimeTypes.rdf > /tmp/sed
+mv /tmp/sed ${PBIDIR}/lib/firefox3/defaults/profile/mimeTypes.rdf



More information about the Commits mailing list