#!/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

export LD_PRELOAD; LD_PRELOAD=@LOCALBASE@/lib/aout/libxpg4-ns.so.2.0

exec ${MOZILLA_HOME}/@BROWSER_BIN@ "$@"
