# This howto is just for setting up plugins for the Mozilla-suite and
# Mozilla-based browsers like Firefox and Netscape.
# Become root
su
for browserdir in \
/usr/lib/firefox \
/usr/lib/firefox-?.* \
/usr/lib/mozilla \
/usr/lib/mozilla-?.* \
/usr/lib/mozilla-firefox \
/usr/lib/netscape \
/usr/lib/seamonkey-* \
/usr/local/firefox \
/usr/local/lib/mozilla-?.* \
/usr/local/mozilla \
/usr/local/netscape \
/usr/local/seamonkey ; do
test -d "$browserdir/plugins" && cd "$browserdir/plugins"
# If you have Sun's Java SDK installed... I've only tried it with Sun's
# JDK version 1.4.2_xx and 1.5.0_xx (5.0 Update xx) but it should be the
# same for other versions and for Blackdown's port too.
#
# If you use gcc >= 3.x, run this:
find /usr/lib/jre*/plugin/i386/ns7 -type f -name libjavaplugin_oji.so \
-exec ln -sf {} \; 2> /dev/null
test -f /usr/local/java/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so &&
ln -sf /usr/local/java/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
test -f /usr/local/java/jre/plugin/i386/ns7/libjavaplugin_oji.so &&
ln -sf /usr/local/java/jre/plugin/i386/ns7/libjavaplugin_oji.so
#
# and if not, run this:
find /usr/lib/jre*/plugin/i386/ns7-gcc29 -type f -name libjavaplugin_oji.so \
-exec ln -sf {} \; 2> /dev/null
test -f /usr/local/java/jre/plugin/i386/ns610/libjavaplugin_oji.so &&
ln -sf /usr/local/java/jre/plugin/i386/ns610/libjavaplugin_oji.so
test -f /usr/local/java/jre/plugin/i386/ns7-gcc29/libjavaplugin_oji.so &&
ln -sf /usr/local/java/jre/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
# If you have Adobe Acrobat Reader 5 installed in it's default location, do
# this to enable it's plugin:
test -d /usr/local/Acrobat5 &&
ln -sf /usr/local/Acrobat5/Browsers/intellinux/nppdf.so
# If you have Adobe Acrobat Reader 7 installed in it's default location, do
# this to enable it's plugin:
test -d /usr/local/Adobe/Acrobat7.0 &&
ln -sf /usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so
# If you have RealPlayer installed:
test -d /usr/local/RealPlayer8 &&
( ln -sf /usr/local/RealPlayer8/rpnp.so
ln -sf /usr/local/RealPlayer8/raclass.zip )
# If you have RealPlayer 10 installed and you installed it under
# /usr/local/RealPlayer like I did (if so, don't symlink the rp8 ones):
test -d /usr/local/RealPlayer &&
( ln -sf /usr/local/RealPlayer/mozilla/nphelix.so
ln -sf /usr/local/RealPlayer/mozilla/nphelix.xpt )