diff options
author | imura <imura@FreeBSD.org> | 2000-10-14 15:34:49 +0000 |
---|---|---|
committer | imura <imura@FreeBSD.org> | 2000-10-14 15:34:49 +0000 |
commit | 7d8f695c7c5f4b445f30f073bb671d7cf32bb3c1 (patch) | |
tree | 89c8f1559fe195cf4c8b4ef764d684aa48cc65dc /japanese | |
parent | 9de9141d5d4c93878140118ac70891623769314a (diff) | |
download | FreeBSD-ports-7d8f695c7c5f4b445f30f073bb671d7cf32bb3c1.zip FreeBSD-ports-7d8f695c7c5f4b445f30f073bb671d7cf32bb3c1.tar.gz |
Cooperate with Acrobat4.
Submitted by: Yoichi ASAI <yatt@msc.biglobe.ne.jp>
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/linux-netscape47-communicator/files/start.sh.in | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/japanese/linux-netscape47-communicator/files/start.sh.in b/japanese/linux-netscape47-communicator/files/start.sh.in index f28c878..6a96f0b 100644 --- a/japanese/linux-netscape47-communicator/files/start.sh.in +++ b/japanese/linux-netscape47-communicator/files/start.sh.in @@ -15,8 +15,19 @@ export XAPPLRESDIR=@RDIR@ export TIMID_DIR=/usr/local/lib/timidity export XCMSDB=/dev/null ulimit -c 0 +ACRO_HOME=@PREFIX@/Acrobat4 +if [ -d $ACRO_HOME ]; then + export PATH=${PATH}:${ACRO_HOME}/bin + ACRO_PLUGIN_PATH=:${ACRO_HOME}/Browsers/intellinux +fi +if [ -z $NPX_PLUGIN_PATH ]; then + export NPX_PLUGIN_PATH=${MOZILLA_HOME}/plugins:${HOME}/.netscape/plugins${ACRO_PLUGIN_PATH} +else + export NPX_PLUGIN_PATH=${NPX_PLUGIN_PATH}${ACRO_PLUGIN_PATH} +fi if [ -x /compat/linux/usr/X11R6/lib/libXm-ns.so.1.0.2 ]; then - exec ${MOZILLA_HOME}/netscape-dynMotif "$@" + MOZILLA_BIN=${MOZILLA_HOME}/netscape-dynMotif else - exec ${MOZILLA_HOME}/@BROWSER_BIN@ "$@" + MOZILLA_BIN=${MOZILLA_HOME}/@BROWSER_BIN@ fi +exec $MOZILLA_BIN "$@" |