#!/bin/ksh 
#
#  This script verifies that the customer is installing patch 109628-01
#  against FWC 2.0 (English only version).  This script checks for
#  FWC 2.0 (globalized version), and echos a "non-supported" message
#  before terminating gracefully.  This script only checks for FWC 2.0
#  (globalized version)...all other pkginfo VERSION strings will be ignored.
#

message="
This patch is intended for the FWC 2.0 (English only version) product 
and is not supported for the globalized version.

Please see README file for more details.
"

/usr/bin/pkginfo SUNWmscmu > /dev/null 2>&1

if [ $? -eq 0 ]; then

	/usr/bin/pkginfo -v 2.0.6,REV=02.01.2000 SUNWmscmu > /dev/null 2>&1

	if [ $? -ne 0 ]; then

		echo "$message"
		exit 1

	fi

fi

exit 0
