# checkinstall script for SUNWesras
pkginfo -q SUNWesagt

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