#
# Copyright 06/18/03 Sun Microsystems, Inc. All Rights Reserved
#
#
# @(#)postinstall.SPROcc 1.9 03/06/18 SMI
#
# Copyright (c) 1995 Sun Microsystems, Inc.  All Rights Reserved.
# Sun considers its source code as an unpublished, proprietary trade
# secret, and it is available only under strict license provisions.
# This copyright notice is placed here only to protect Sun in the event
# the source is deemed a published work.
#
# RESTRICTED RIGHTS LEGEND: Use, duplication, or disclosure by the
# Government is subject to restrictions as set forth in subparagraph
# (c)(1)(ii) of the Rights in Technical Data and Computer Software
# clause at DFARS 52.227-7013 and in similar clauses in the FAR and
# NASA FAR Supplement.
#
# Post-install template for unbundled products using FLEXlm
# Copies all licenses over from the standard directory - $licdir -

################################################################
# links for SPROcc package
################################################################
err_code=1

if [ -d ${PKG_INSTALL_ROOT}/usr/ccs/bin ]
then
	installf $PKGINST /usr/ccs/bin/ucbcc=${CLIENT_BASEDIR}/SUNWspro/prod/bin/cc s || exit $err_code
	installf $PKGINST /usr/ccs/bin/ucblint=${CLIENT_BASEDIR}/SUNWspro/prod/bin/lint s || exit $err_code
	installf $PKGINST /usr/ccs/bin/whatdir=${CLIENT_BASEDIR}/SUNWspro/prod/bin/whatdir s || exit $err_code

installf -f $PKGINST || exit $err_code
fi

