summaryrefslogtreecommitdiffstats
path: root/www/firefox36/pkg-install.in
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-11-18 16:37:50 +0000
committermarcus <marcus@FreeBSD.org>2004-11-18 16:37:50 +0000
commit25f43038dfb27709913d46cabf2f37cad5ad9baa (patch)
treea111e106d2e3e4d230570226d75a43119cbbe24a /www/firefox36/pkg-install.in
parent0a35c5fddb0f11e82d1af79723d894c66ba11a24 (diff)
downloadFreeBSD-ports-25f43038dfb27709913d46cabf2f37cad5ad9baa.zip
FreeBSD-ports-25f43038dfb27709913d46cabf2f37cad5ad9baa.tar.gz
Instead of using Xvfb, and evil black magic to create the extensions
repository, use the hidden "-register" option instead. This has the advantage of not requiring an X DISPLAY and not modifying any preferences.
Diffstat (limited to 'www/firefox36/pkg-install.in')
-rw-r--r--www/firefox36/pkg-install.in5
1 files changed, 1 insertions, 4 deletions
diff --git a/www/firefox36/pkg-install.in b/www/firefox36/pkg-install.in
index f548cac..8f8dbd0 100644
--- a/www/firefox36/pkg-install.in
+++ b/www/firefox36/pkg-install.in
@@ -27,9 +27,6 @@ rm -rf ${MOZDIR}/extensions
cd ${MOZDIR} || exit 1
./run-mozilla.sh ${REGXPCOM} || true
./run-mozilla.sh ${REGCHROME} || true
-
-# Instantiate the extension space as root.
-su - root -c "env PATH=${PATH} %%X11BASE%%/bin/xinit %%MOZDIR%%/run-mozilla.sh ${FIREFOX} -install-global-extension -- %%X11BASE%%/bin/Xvfb :1001" > /dev/null 2>&1
-su - root -c "env PATH=${PATH} %%X11BASE%%/bin/xinit %%MOZDIR%%/run-mozilla.sh ${FIREFOX} -install-global-theme -- %%X11BASE%%/bin/Xvfb :1001" > /dev/null 2>&1
+./run-mozilla.sh ${FIREFOX} -register > /dev/null 2>&1
exit 0
OpenPOWER on IntegriCloud