#! /bin/sh # # $Id: nw_checkinstall.SunOS,v 1.1.36.1 2007/01/25 15:34:32 tompkb1 Exp $ Copyright (c) 2005-2007 EMC Corporation. # # # Copyright (c) 2005-2007 EMC Corporation. # # All rights reserved. This is an UNPUBLISHED work, and # comprises proprietary and confidential information of EMC. # Unauthorized use, disclosure, and distribution are strictly # prohibited. Use, duplication, or disclosure of the software # and documentation by the U.S. Government is subject to # restrictions set forth in a license agreement between the # Government and EMC or other written agreement specifying # the Government's rights to use the software and any applicable # FAR provisions, such as FAR 52.227-19. # expected="$ARCH" platform=`/usr/bin/uname -p` if [ ${platform} != ${expected} ]; then echo "This package must be installed on a ${expected} architecture." echo "Aborting installation." exit 1 fi osrel=`/usr/bin/uname -r | /usr/bin/tr -d "\."` if [ ${osrel} -lt 58 ]; then echo "This package is only supported on Solaris versions 8 or higher." exit 1 fi exit 0