openbsd-ports/www/jserv/pkg/DEINSTALL
2001-06-18 09:15:30 +00:00

30 lines
690 B
Bash

#!/bin/sh
#
# $OpenBSD: DEINSTALL,v 1.2 2001/06/18 09:15:30 reinhard Exp $
#
# jserv de-installation
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
CONF=`apxs -q SYSCONFDIR`/httpd.conf
rm -f /usr/lib/apache/modules/mod_jserv.so
echo
echo "+---------------"
echo "| To completely deinstall the $1 package you"
echo "| need to perform these steps as root:"
echo "|"
echo "| edit ${CONF}"
echo "| and remove the lines"
echo "| 'LoadModule jserv_module'"
echo "| and"
echo "| 'include /etc/tomcat/tomcat-apache.conf'"
echo "|"
echo "| Do not do this if you plan on re-installing jserv"
echo "| package at some future time."
echo "+---------------"
echo
exit 0