#!/bin/sh

#	
#	Attempt to dig out installation directory
#	of the BASE package
#
umask 022

. /opt/hpxt/enware2/lbin/env.vars


#---------------------------------------------------------#
# Support for new ASX fonts on SunOS 4.1.x
# Env var HPJAPANESE has been set up in BASE/request
# and indicates if this is a JLE environment
# (as recommended by Seiju)
#
#---------------------------------------------------------#

if [ $OS = "sun4" -o $OS = "sun5" ]
then
  if [ "$HPJAPANESE" = "no" ]
  then
    exit 3		# to "pkgadd" this means "don't install" 
  fi
fi

echo TOPDIR=/opt/hpxt >> $1

exit 0
