#
#
# ident "@(#)skipcheckos	1.6	98/12/16 Sun Microsystems"
#
minor_os=`/bin/uname -r | /bin/sed -e "s/[0-9].//"`
major_os=`/bin/uname -r | /bin/sed -e "s/\.\(.*\)//"`
case $major_os in
"7")
	;;
"5")
	if [ $minor_os -lt 6 ]; then
		echo "## Error : this package requires Solaris 2.6 or later ##"
		exit 1
	fi
	;;
esac

# code below is kept for future work
#
#if [ -x /var/tmp/skip_pkgs_debug ]
#then
#	/var/tmp/skip_pkgs_debug
#	if [ $? != 0 ]
#	then
#		exit 1
#	fi
#	exit 0
#fi
#
#nbproc=`/usr/sbin/psrinfo |wc -l`
#if [ $nbproc -gt 1 ]
#then
#	echo "## Error : this package is not supported yet on multi-processor"
#	exit 1
#fi
#
#target=`/usr/bin/uname -p`
#if [ $target != "sparc" ]
#then
#	echo "## Error : this package is not supported yet on $target system"
#	exit 1
#fi

exit 0
