#!/bin/sh #ident "@(#)preremove 1.5 98/07/22 SMI" # Unregisters the SMC Application from 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}" if [ ${CDE_BASEDIR} != "" ]; then # ${CDE_BASEDIR}/dt/bin/dtappintegrate -s ${SMCDT} -t ${CDE_BASEDIR}/dt/appconfig -u ${CDE_BASEDIR}/dt/bin/dtappintegrate -s ${SMCDT} -u # # 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 fi