#Copyright 04/01/96 Sun Microsystems, Inc. All Rights Reserved.
#
#pragma ident  "@(#)postinstall	1.3 96/04/01 Sun Microsystems"
#    "postinstall"  file for package: SUNWemobj
#		    EM Object Development Tool


#
# Exit codes for installation scripts

export   BASEDIR

e_ok=0
e_fatal=1      # stop installation on this exit
e_warning=2    # Installation will go on.
e_int=3        # Interrupted. Stop installation
e_reboot=10    # User must reboot after installation of all selected packages
e_rebootnow=20 # User must reboot right after installation of current package
               # To be added to one of the single-digit exit codes above

#
# Trap interrupt
#
trap `exit $e_int` 15


runtime_install ()
{
        cd $BASEDIR/SUNWconn/em
        sh bin/var-obj-install $BASEDIR/SUNWconn/em /etc/opt/SUNWconn/em/conf/odt
	return $?
}

#
# main ()
#

runtime_install 


#
# Export Parameters
#
exit $e_ok
