diff options
author | Martin Stransky <stransky@fedoraproject.org> | 2007-08-06 10:33:33 +0000 |
---|---|---|
committer | Martin Stransky <stransky@fedoraproject.org> | 2007-08-06 10:33:33 +0000 |
commit | 15debc175777635ed4be157d7d7373efd43083d0 (patch) | |
tree | d5c8947610d5c611fe7e39526aae2f2609a5f344 /firefox-xremote-client.sh.in | |
parent | - Update to 2.0.0.6 (diff) | |
download | librewolf-fedora-ff-15debc175777635ed4be157d7d7373efd43083d0.tar.gz librewolf-fedora-ff-15debc175777635ed4be157d7d7373efd43083d0.tar.bz2 librewolf-fedora-ff-15debc175777635ed4be157d7d7373efd43083d0.zip |
unwrapped plugins moved to the old location
Diffstat (limited to 'firefox-xremote-client.sh.in')
-rw-r--r-- | firefox-xremote-client.sh.in | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/firefox-xremote-client.sh.in b/firefox-xremote-client.sh.in index fa53f02..f6ac338 100644 --- a/firefox-xremote-client.sh.in +++ b/firefox-xremote-client.sh.in @@ -8,13 +8,24 @@ MOZILLA_FIVE_HOME="FFDIR" export MOZILLA_FIVE_HOME ## +## Select the propper plugin dir +## Wrapped plug-ins are located in /lib/mozilla/plugins-wrapped +## +if [ -x "$MOZ_LIB_DIR/nspluginwrapper/npviewer" ] +then + MOZ_PLUGIN_DIR="plugins-wrapped" +else + MOZ_PLUGIN_DIR="plugins" +fi + +## ## Set LD_LIBRARY_PATH ## if [ "$LD_LIBRARY_PATH" ] then - LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$MOZILLA_FIVE_HOME/plugins-wrapped:LIBDIR/mozilla/plugins-wrapped:LIBDIR:$LD_LIBRARY_PATH + LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$MOZILLA_FIVE_HOME/$MOZ_PLUGIN_DIR:LIBDIR/mozilla/$MOZ_PLUGIN_DIR:LIBDIR:$LD_LIBRARY_PATH else - LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$MOZILLA_FIVE_HOME/plugins-wrapped:LIBDIR/mozilla/plugins-wrapped:LIBDIR + LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$MOZILLA_FIVE_HOME/$MOZ_PLUGIN_DIR:LIBDIR/mozilla/$MOZ_PLUGIN_DIR:LIBDIR fi export LD_LIBRARY_PATH |