#!/bin/ksh
#
#ident	"@(#)checkinstall	1.4	04/12/08 SMI"
#
# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# Hardware Certification Test Suite installation script
# variables
# functions

### MAIN ###
# Check for  SUNWhcts packages 
/usr/bin/pkginfo | egrep "SUNWstaf" > /dev/null
if [ $? -eq 0 ]
then            # packages are installed
	echo "---------------------------------------------------"
	echo "WARNING"
	echo "   The <SUNWstaf> is already installed!"
	echo "   Please use 'pkgrm' to remove the existing version."
	echo "---------------------------------------------------"
fi

