aboutsummaryrefslogtreecommitdiffstats
path: root/www/firefox10/pkg-install.in
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox10/pkg-install.in')
-rw-r--r--www/firefox10/pkg-install.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/firefox10/pkg-install.in b/www/firefox10/pkg-install.in
index 8004a6516143..f548cac38445 100644
--- a/www/firefox10/pkg-install.in
+++ b/www/firefox10/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