#!/bin/sh # expectedrelease="5.10" release=`/bin/uname -r` if [ `/bin/expr $release \< $expectedrelease` -eq 1 ]; then /bin/echo "\n\n\n\tWARNING: This package may not work with Solaris releases" /bin/echo "\tolder than version 10 (5.10).\n\n\n" fi if [ ! -d "/usr/java" ]; then /bin/echo "\n\n\n\tJava does not appear to be installed on this system!" /bin/echo "\tAborting installation.\n\n\n" exit 1 fi exit 0