openbsd-ports/www/mod_auth_ldap/pkg/DEINSTALL

28 lines
646 B
Plaintext
Raw Normal View History

#!/bin/sh
#
# $OpenBSD: DEINSTALL,v 1.1.1.1 2003/05/04 23:09:01 henning Exp $
#
# mod_auth_ldap de-installation
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONF=`apxs -q SYSCONFDIR`/httpd.conf
MODULE=/usr/lib/apache/modules/auth_ldap.so
rm -f ${MODULE}
echo
echo "+---------------"
echo "| To completely deinstall the $1 package you"
echo "| need to perform these steps as root:"
echo "|"
echo "| edit ${CONF}"
echo "| remove the line: LoadModule auth_ldap_module"
echo "|"
echo "| Do not do this if you plan on re-installing $1"
echo "| package at some future time."
echo "+---------------"
echo
exit 0