# checkinstall script for SUNWesessa
pkginfo -q SUNWessa

if [ $? -ne 0 ]; then 
  echo "Please install SUNMC Server Layer first. This installation is quited"
  exit 3
else
  BASEDIR=" `pkgparam SUNWessa BASEDIR`"
  echo "BASEDIR=$BASEDIR" >> $1
exit 0
fi
