#!/bin/sh
#
#  Monitor Post Remove Installation Script HPUX
#
# Copyright (c) 2001, PerfCap Corporation, Nashua NH
# All Rights Reserved
#---------------------------------------------------------------
#
INSTALL_DIR=/opt/perfcap

# remove softlinks

if [ -h /usr/bin/ecap_analyze ]
then
   rm -f /usr/bin/ecap_analyze
fi
#
if [ -h /usr/bin/ecap_graph ]
then
   rm -f /usr/bin/ecap_graph
fi
#
if [ -h /usr/bin/ecap_export ]
then
   rm -f /usr/bin/ecap_export
fi

if [ -h /usr/man/man1/ecap_analyze.1 ]
then
  rm -f /usr/man/man1/ecap_analyze.1
fi

if [ -h /usr/man/man1/ecap_graph.1 ]
then
  rm -f /usr/man/man1/ecap_graph.1
fi

if [  -f $INSTALL_DIR/settings/.install_an ]
then
   rm -f $INSTALL_DIR/settings/.install_an
fi

exit 0
