#!/bin/sh #ident "@(#)postinstall 1.7 98/08/05 SMI" # Solaris Management Console # Application(SMC) integration into cde PATH=/bin:/sbin:/usr/sbin:${PATH} CDE_BASEDIR=`pkgparam SUNWdtwm BASEDIR` SMC_BASEDIR=`pkgparam SUNWmcc BASEDIR` SMC_PRODDIR=`pkgparam SUNWmcc PRODUCTDIR` SMCDT="${SMC_BASEDIR}/${SMC_PRODDIR}" DTTYPES="${SMCDT}/dt/appconfig/types/C" # Now create the action file and update Application Manager if [ -n "${CDE_BASEDIR}" ]; then if [ -n "${SMCDT}" ]; then if [ -d ${SMCDT} ]; then ${CDE_BASEDIR}/dt/bin/dtappintegrate -s ${SMCDT} else echo "SMC CDE integration dir not found: ${SMCDT}" fi # Reload applications and actions if the window manager is running # DTWM_PID=`ps -ef | grep dtwm | grep -v "grep" | nawk '{print $2}'`; # if [ -n "${DTWM_PID}" ]; then # ${CDE_BASEDIR}/dt/bin/dtaction ReloadResources # ${CDE_BASEDIR}/dt/bin/dtaction ReloadActions # ${CDE_BASEDIR}/dt/bin/dtaction ReloadApps # fi else echo "SMC CDE integration components not found" fi else echo "CDE not installed - no integration performed" fi