#!/bin/sh
#
#ident "@(#)request   1.3     95/04/14 SMI"
#
# Copyright (c) 1992, 1993, 1994, 1995 by Sun Microsystems, Inc.
#

#
# figure out CLASSES to install
#
CLASSES="none preserve"

this_arch=`uname -p`
case ${this_arch} in
#i386)
#	echo ""
#	echo "This product is not supported on architecture ${this_arch}"
#	echo ""
#	exit 1
#	;;
*)
	CLASSES="${CLASSES} ${this_arch}"
	;;
esac

this_release=`uname -r`
case ${this_release} in
5.0|5.1|5.2|5.3)
	echo ""
	echo "This product is not supported on release ${this_release}"
	echo ""
	exit 1
	;;
*)
	for i in ${CLASSES} ; do
		CLASSES="${CLASSES} ${i}Os54"
	done
	;;
esac

#
# export CLASSES to install
#
cat >$1 <<THE_END
CLASSES="${CLASSES}"
export CLASSES
THE_END
