#!/bin/ksh
#
#ident	"@(#)preremove	1.5	04/12/08 SMI"
#
# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# STAF postremove
#

# variables
### MAIN ###



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

