summaryrefslogtreecommitdiff
path: root/firefox.sh.in
diff options
context:
space:
mode:
authorChristopher Aillon <caillon@fedoraproject.org>2005-05-03 15:50:58 +0000
committerChristopher Aillon <caillon@fedoraproject.org>2005-05-03 15:50:58 +0000
commit74adc9d0122a30969defe74771c8335b4a103744 (patch)
treecfb9201a7184bd990e28125157016521df2dd56f /firefox.sh.in
parent- correct confusing PANGO vars in startup script (diff)
downloadlibrewolf-fedora-ff-74adc9d0122a30969defe74771c8335b4a103744.tar.gz
librewolf-fedora-ff-74adc9d0122a30969defe74771c8335b4a103744.tar.bz2
librewolf-fedora-ff-74adc9d0122a30969defe74771c8335b4a103744.zip
- Add patch to properly link against libgfxshared_s.a
1.0.3-1 - Update to security release 1.0.3
Diffstat (limited to 'firefox.sh.in')
-rw-r--r--firefox.sh.in11
1 files changed, 8 insertions, 3 deletions
diff --git a/firefox.sh.in b/firefox.sh.in
index 4387998..7526330 100644
--- a/firefox.sh.in
+++ b/firefox.sh.in
@@ -36,7 +36,12 @@ cmdname=`basename $0`
##
## Variables
##
-MOZ_DIST_BIN="FFDIR"
+MOZ_LIB_DIR="/usr/lib"
+if [ -x "/usr/lib64/firefox-FIREFOX_VERSION/firefox-bin" ]
+then
+ MOZ_LIB_DIR="/usr/lib64"
+fi
+MOZ_DIST_BIN="$MOZ_LIB_DIR/firefox-FIREFOX_VERSION"
MOZ_PROGRAM="$MOZ_DIST_BIN/firefox"
MOZ_CLIENT_PROGRAM="$MOZ_DIST_BIN/mozilla-xremote-client"
MOZ_CLIENT_PROGRAM_PARAM="-a firefox"
@@ -65,9 +70,9 @@ export LD_LIBRARY_PATH
##
if [ "$MOZ_PLUGIN_PATH" ]
then
- MOZ_PLUGIN_PATH=$MOZ_PLUGIN_PATH:LIBDIR/mozilla/plugins:$MOZ_DIST_BIN/plugins
+ MOZ_PLUGIN_PATH=$MOZ_PLUGIN_PATH:$MOZ_LIB_DIR/mozilla/plugins:$MOZ_DIST_BIN/plugins
else
- MOZ_PLUGIN_PATH=LIBDIR/mozilla/plugins:$MOZ_DIST_BIN/plugins
+ MOZ_PLUGIN_PATH=$MOZ_LIB_DIR/mozilla/plugins:$MOZ_DIST_BIN/plugins
fi
export MOZ_PLUGIN_PATH
bgstack15