aboutsummaryrefslogtreecommitdiff
path: root/mail/thunderbird3/pkg-install.in
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-10-17 21:40:11 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-10-17 21:40:11 +0000
commit3bffe907e1a5ae966c6447db59ca09c5ba3165d1 (patch)
tree898ac33614dec455ab57ff610516ff9e189c6aa5 /mail/thunderbird3/pkg-install.in
parente3a98cbb2d2c1737f7c49110dd7736b2ad516e0b (diff)
downloadports-3bffe907e1a5ae966c6447db59ca09c5ba3165d1.tar.gz
ports-3bffe907e1a5ae966c6447db59ca09c5ba3165d1.zip
Notes
Diffstat (limited to 'mail/thunderbird3/pkg-install.in')
-rw-r--r--mail/thunderbird3/pkg-install.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/thunderbird3/pkg-install.in b/mail/thunderbird3/pkg-install.in
index 048ff1d62da3..415295540dc1 100644
--- a/mail/thunderbird3/pkg-install.in
+++ b/mail/thunderbird3/pkg-install.in
@@ -15,6 +15,7 @@ PATH=/bin:/usr/bin
MOZDIR=%%MOZDIR%%
REGXPCOM=${MOZDIR}/regxpcom
REGCHROME=${MOZDIR}/regchrome
+THUNDERBIRD=${MOZDIR}/thunderbird-bin
echo "===> Building Chrome's registry..."
rm -rf ${MOZDIR}/chrome/overlayinfo
@@ -27,4 +28,8 @@ cd ${MOZDIR} || exit 1
./run-mozilla.sh ${REGXPCOM} || true
./run-mozilla.sh ${REGCHROME} || true
+# Instantiate the extension space as root.
+su - root -c "%%X11BASE%%/bin/xinit %%MOZDIR%%/run-mozilla.sh ${THUNDERBIRD} -install-global-extension -- %%X11BASE%%/bin/Xvfb :1001" > /dev/null 2>&1
+su - root -c "%%X11BASE%%/bin/xinit %%MOZDIR%%/run-mozilla.sh ${THUNDERBIRD} -install-global-theme -- %%X11BASE%%/bin/Xvfb :1001" > /dev/null 2>&1
+
exit 0