#!/sbin/sh
#------------------------------------------------------------------#
#
# HPUX_ID: @(#) $Revision: 17.3 $ generated on Tue Jul 10 13:22:21 PDT 2001
#
# (c)Copyright 1983-2001 Hewlett-Packard Co.,  All Rights Reserved.
#
#------------------------------------------------------------------#
# SD preinstall script template for 11.X patches.                  #
#------------------------------------------------------------------#
# This file is optional for all 11.X patches.  The purpose of this #
# script is to prepare the system for installation of the patch.   #
#------------------------------------------------------------------#

_PATCHID=PHCO_24172

UTILS="/usr/lbin/sw/control_utils"

if [ ! -f $UTILS ]; then
    echo "ERROR:   Cannot find $UTILS"
    exit 1
fi

. $UTILS
exitval=$SUCCESS

#####
##### Insert any code you may require at this point in the script.
##### Pay attention to the exitval variable and set appropriately
##### in your code.  If you are unsure as to what types of operations
##### are legal in this file and what types aren't, consult the 
##### "Guidelines for SD Control Scripts" document.
#####
##### START_CUSTOMIZATION_HERE

MAN1M="/usr/share/man/cat1m.Z/ups_mond.1m"
if [ -f $MAN1M ]; then
        rm $MAN1M
fi
MAN1M="/usr/share/man/cat1m.Z/power_onoff.1m"
if [ -f $MAN1M ]; then
        rm $MAN1M
fi
MAN1M="/usr/share/man/cat4.Z/ups_conf.4"
if [ -f $MAN1M ]; then
        rm $MAN1M
fi

exit $exitval
