#!/bin/sh
#
# Preremove script written by Ron Record (rr@caldera.com) for use with my
# UnixWare 7 packaging of Apache. 
# 

[ -x /etc/apache ] && {
     /etc/apache disable > /dev/null 2>&1
     /etc/apache stop > /dev/null 2>&1
}

# Delete the DocView Apache documentation
#
LOGFILE=/var/sadm/install/logs/ApacheDoc.log
doctool --delete HelpTopics/INThome/INTgroup/ApacheDoc.desktop >> $LOGFILE 2>&1

rm -f /usr/lib/apache/users
rm -f /usr/lib/apache/logs/*

exit 0
