#
# ident "@(#)preremove.src	1.2 02/08/22 SMI"
#
# Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
#

BASEDIR=`/usr/bin/pkgparam SUNWutesc BASEDIR`

PATH=/bin:/usr/bin:/sbin:/usr/sbin

BASENAME="/bin/basename"
     MOD="`$BASENAME $0`"

PKGINFO="/usr/bin/pkginfo"
ECHO="/bin/echo"

if [ -z "$PKG_INSTALL_ROOT" ]; then
  PKG_INSTALL_ROOT=""
fi

set -u

PKGID=SUNWut

#
# Remove the SunMC links to the files to be removed
#

${PKG_INSTALL_ROOT}${BASEDIR}/SUNWut/sbin/utsunmc -u

exit 0;
