# Set the XFILESEARCHPATH environment variable for locale-specific
# Netscape app-defaults.
#
#    %D -> The value of the implementation-specific default path.
#    %L -> zh_CN.GB2312, zh_TW.Big5
#    %l -> ja, ko
#    %T -> app-defaults (not used here)
#    %N -> Netscape
#    %S -> the suffix (empty)
# For information regarding the syntax of XFILESEARCHPATH, see
#    http://www.faqs.org/faqs/Xt-FAQ/
#    http://www.motifzone.com/resources/man/XtResolvePathname.html

if [ -z "$XFILESEARCHPATH" ]; then
	XFILESEARCHPATH=%D
fi

# For /usr/lib/netscape/473/netscape/ja/Netscape.{normal,small}
[ $NS_FONTSIZE ] && XFILESEARCHPATH=${XFILESEARCHPATH}:\
/usr/lib/netscape/$VER/netscape/%L/%N.$NS_FONTSIZE:\
/usr/lib/netscape/$VER/netscape/%l/%N.$NS_FONTSIZE

XFILESEARCHPATH=${XFILESEARCHPATH}:\
/usr/lib/netscape/$VER/netscape/%L/%N%S:\
/usr/lib/netscape/$VER/netscape/%l/%N%S

export XFILESEARCHPATH
