#!/usr/bin/ksh
#
# Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
#
# @(#)install	1.3 03/03/14
#

# Define the paths used by this script
SCRIPT=$0
SCRNAME=`basename $SCRIPT`
COMPONENT_DIR=`dirname $0`

# Include function libraries
. $ESM_LIB/esm_lib.ksh
. $ESM_LIB/component_install.ksh
. $ESM_LIB/configvars_lib.ksh

. $COMPONENT_DIR/component_lib.ksh

if el_isEsmTrue `el_configvar_get Localization` ; then

     # Append the locale packages
     CL_PACKAGES="$CL_PACKAGES $CL_L10N_PACKAGES" 
     export CL_PACKAGES 
fi 

component_install_main $*

if [ "$DEBUG" = "1" ]; then
    el_debug
    cl_debug
    el_secho 1 $ESM_LOG n "Local Environment Variables:"
    el_secho 1 $ESM_LOG n "    COMPONENT_DIR |$COMPONENT_DIR|"
    el_secho 1 $ESM_LOG n "    SCRIPT        |$SCRIPT|"
    el_secho 1 $ESM_LOG n "    SCRNAME       |$SCRNAME|"
    el_secho 1 $ESM_LOG n "    RELOCATE_DIR  |$RELOCATE_DIR|"
fi

