#
# Copyright 06/18/03 Sun Microsystems, Inc. All Rights Reserved
#
#
# @(#)postinstall.SPROcc 1.10 03/06/18 SMI
#

################################################################
# 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/acc 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
