aboutsummaryrefslogtreecommitdiff
path: root/www/firefox/pkg-install.in
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-11-10 00:58:53 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-11-10 00:58:53 +0000
commita2f636b22c166cdd9d0aff3de359058c87bb2228 (patch)
treef6b46909d4ed983b35bbff912417b1bd46c9a4c8 /www/firefox/pkg-install.in
parent75b4d76535284f53992e66c6c38ee98dcb33a117 (diff)
downloadports-a2f636b22c166cdd9d0aff3de359058c87bb2228.tar.gz
ports-a2f636b22c166cdd9d0aff3de359058c87bb2228.zip
Notes
Diffstat (limited to 'www/firefox/pkg-install.in')
-rw-r--r--www/firefox/pkg-install.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/firefox/pkg-install.in b/www/firefox/pkg-install.in
index 8004a6516143..f548cac38445 100644
--- a/www/firefox/pkg-install.in
+++ b/www/firefox/pkg-install.in
@@ -7,7 +7,7 @@
# Fix the chrome registry.
umask 022
-PATH=/bin:/usr/bin
+PATH=/bin:/usr/bin:/usr/local/bin
[ "x$1" = "x" ] && exit 1
[ "x$2" != "xPOST-INSTALL" ] && exit 0
@@ -29,7 +29,7 @@ cd ${MOZDIR} || exit 1
./run-mozilla.sh ${REGCHROME} || true
# Instantiate the extension space as root.
-su - root -c "%%X11BASE%%/bin/xinit %%MOZDIR%%/run-mozilla.sh ${FIREFOX} -install-global-extension -- %%X11BASE%%/bin/Xvfb :1001" > /dev/null 2>&1
-su - root -c "%%X11BASE%%/bin/xinit %%MOZDIR%%/run-mozilla.sh ${FIREFOX} -install-global-theme -- %%X11BASE%%/bin/Xvfb :1001" > /dev/null 2>&1
+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
exit 0