summaryrefslogtreecommitdiff
path: root/firefox.sh.in
diff options
context:
space:
mode:
authorChristopher Aillon <caillon@fedoraproject.org>2007-12-22 02:19:59 +0000
committerChristopher Aillon <caillon@fedoraproject.org>2007-12-22 02:19:59 +0000
commit557e35af96add6cc248dc41c138c3ee12d826023 (patch)
tree7320339387198eca9e45dddf9cbf619cec8c0c84 /firefox.sh.in
parentfixed xulrunner dependency (diff)
downloadlibrewolf-fedora-ff-557e35af96add6cc248dc41c138c3ee12d826023.tar.gz
librewolf-fedora-ff-557e35af96add6cc248dc41c138c3ee12d826023.tar.bz2
librewolf-fedora-ff-557e35af96add6cc248dc41c138c3ee12d826023.zip
- When there are both 32- and 64-bit versions of XPCOM installed on disk
make sure to load the correct one.
Diffstat (limited to 'firefox.sh.in')
-rw-r--r--firefox.sh.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/firefox.sh.in b/firefox.sh.in
index fd17d98..17c4562 100644
--- a/firefox.sh.in
+++ b/firefox.sh.in
@@ -65,6 +65,15 @@ MOZ_CLIENT_PROGRAM="$MOZ_DIST_BIN/firefox-xremote-client"
MOZ_CLIENT_PROGRAM_PARAM="-a firefox"
##
+## Set MOZ_GRE_CONF
+##
+MOZ_GRE_CONF=/etc/gre.d/gre.conf
+if [ "$MOZ_LIB_DIR" == "/usr/lib64" ]; then
+ MOZ_GRE_CONF=/etc/gre.d/gre64.conf
+fi
+export MOZ_GRE_CONF
+
+##
## Set MOZILLA_FIVE_HOME
##
MOZILLA_FIVE_HOME="$MOZ_DIST_BIN"
bgstack15