#!/bin/sh
# @(#)postinstall_template	1.17 07 Feb 1995 Copyright 1993 SMI
# Copyright (c) 1993 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 -
#
# This executes the trailer script for a dependency-based
# installation.  Make sure the proper SUNWmfrun package is installed
# The variables below must be set up in the check_installation script
# which is executed prior to the preinstall script.
#

PATH=/usr/sadm/bin:$PATH

if [ ${BATCH_INSTALL} ]; then
        exit 0
elif [ -n "${LIST_FILE}" -a -s "${LIST_FILE}" ]; then
        sh $TRLR_SCRIPT $LIST_FILE $TRLR_RESP $BASEDIR $INST_DATADIR \
            ${PKG_INSTALL_ROOT} &
fi

exit 0



