5a08cb3d2a
Submitted by: Yoichi ASAI <yatt@msc.biglobe.ne.jp>
34 lines
1010 B
Bash
34 lines
1010 B
Bash
#!/bin/sh
|
|
if [ ! -d $HOME/.netscape ]; then
|
|
mkdir -m 700 $HOME/.netscape
|
|
cp @RDIR@/preferences.js $HOME/.netscape
|
|
chmod 644 $HOME/.netscape/preferences.js
|
|
fi
|
|
export LANG=@LANG@
|
|
export LC_ALL=${LANG}
|
|
export LC_CTYPE=${LANG}
|
|
export MOZILLA_HOME=@NDIR@
|
|
export CLASSPATH=.:${MOZILLA_HOME}
|
|
export NS_NETHELP_PATH=${MOZILLA_HOME}/${LANG}
|
|
export XKEYSYMDB=@X11BASE@/lib/X11/XKeysymDB
|
|
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
|
|
MOZILLA_BIN=${MOZILLA_HOME}/netscape-dynMotif
|
|
else
|
|
MOZILLA_BIN=${MOZILLA_HOME}/@BROWSER_BIN@
|
|
fi
|
|
exec $MOZILLA_BIN "$@"
|