#!/bin/sh
# Copyright 2005 Sun Microsystems, Inc.  All Rights Reserved.
#
# prepatch script to check the OS version

OS=`/usr/bin/uname -r`

if [ -z "$ROOTDIR" ] || [ "$ROOTDIR" = "/"] ; then
	if [ ${OS} != 5.8 ]; then 
		echo "This patch can only be applied on Solaris 8."
		echo "Please get the appropriate patch for your system."
		exit 1
	fi
fi
