1998-12-13 22:00:41 +00:00
|
|
|
#!/bin/sh
|
1999-02-12 14:44:56 +00:00
|
|
|
#
|
|
|
|
# Koreanized Netscape startup file
|
|
|
|
# basically based on Japanized Netscape
|
|
|
|
# ports/japanese/netscape4-communicator
|
|
|
|
# CHOI Junho <cjh@kr.freebsd.org>, 98/12/28
|
|
|
|
#
|
|
|
|
|
|
|
|
if [ ! -d $HOME/.netscape ]; then
|
|
|
|
mkdir -m 700 $HOME/.netscape
|
|
|
|
cp @RDIR@/preferences.js $HOME/.netscape
|
|
|
|
chmod 644 $HOME/.netscape/preferences.js
|
|
|
|
fi
|
|
|
|
|
1998-12-13 22:00:41 +00:00
|
|
|
CHMOD='/bin/chmod'
|
|
|
|
CP='/bin/cp -p'
|
|
|
|
MKDIR='/bin/mkdir -p'
|
|
|
|
export LANG; LANG=ko_KR.EUC
|
1999-02-12 14:44:56 +00:00
|
|
|
export LC_ALL; LC_ALL=${LANG}
|
|
|
|
export LC_CTYPE; LC_CTYPE=${LANG}
|
1998-12-13 22:00:41 +00:00
|
|
|
export MOZILLA_HOME; MOZILLA_HOME=@NDIR@
|
|
|
|
export MOZILLA_NO_ASYNC; MOZILLA_NO_ASYNC=True
|
|
|
|
export CLASSPATH; CLASSPATH=.:$MOZILLA_HOME
|
|
|
|
#export XENVIRONMENT; XENVIRONMENT=${MOZILLA_HOME}/Netscape.ad
|
|
|
|
export XKEYSYMDB; XKEYSYMDB=@X11BASE@/lib/X11/XKeysymDB
|
|
|
|
export XAPPLRESDIR; XAPPLRESDIR=@RDIR@
|
|
|
|
export XNLSPATH; XNLSPATH=${MOZILLA_HOME}/nls
|
1999-02-12 14:44:56 +00:00
|
|
|
#export PATH_LOCALE; PATH_LOCALE=@RDIR@/locale
|
1998-12-13 22:00:41 +00:00
|
|
|
export NPX_PLUGIN_PATH; NPX_PLUGIN_PATH=${MOZILLA_HOME}/plugins
|
|
|
|
export TIMID_DIR; TIMID_DIR=/usr/local/lib/timidity
|
|
|
|
export XCMSDB; XCMSDB=/dev/null
|
1999-08-24 23:04:06 +00:00
|
|
|
if [ -e /usr/local/lib/aout/libxpg4-ns.so.2.0 ]; then
|
|
|
|
export LD_PRELOAD=/usr/local/lib/aout/libxpg4-ns.so.2.0
|
|
|
|
elif [ x$KO_NETSCAPE_USE_LD_PRELOAD != x -a x$KO_NETSCAPE_USE_LD_PRELOAD != xno ]; then
|
|
|
|
export LD_PRELOAD=/usr/lib/libxpg4.so
|
1999-02-12 14:44:56 +00:00
|
|
|
else
|
1999-08-24 23:04:06 +00:00
|
|
|
export PATH_LOCALE=@RDIR@/locale
|
1999-02-12 14:44:56 +00:00
|
|
|
fi
|
1999-08-24 23:04:06 +00:00
|
|
|
exec ${MOZILLA_HOME}/@BROWSER_BIN@ "$@"
|