#!/bin/sh

PATH="/usr/bin:/usr/sbin:${PATH}"
export PATH

OS=`uname -r`
PKGOSVER=`echo $VERSION | awk 'BEGIN { FS=",=" } { print $1 }'`

if [ $OS != $PKGOSVER ]; then
   echo "==================================================================="
   echo "This version of the product can only be installed under $PKGOSVER"
   echo "Current OS detected as $OS"
   echo "==================================================================="
   exit 1
fi

exit 0

