711176c5f7
the startup script, which I forgot in previous commit. :(
35 lines
999 B
Bash
35 lines
999 B
Bash
#!/bin/sh
|
|
if [ ! -d $HOME/.netscape ]; then
|
|
mkdir -m 700 $HOME/.netscape
|
|
cp @RDIR@/@LOCALE@/preferences.js $HOME/.netscape
|
|
chmod 644 $HOME/.netscape/preferences.js
|
|
fi
|
|
export LANG=@LOCALE@
|
|
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 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_HOME}/@BROWSER_BIN@ "$@"
|