28 lines
641 B
Bash
28 lines
641 B
Bash
#!/bin/sh
|
|
#
|
|
# $OpenBSD: DEINSTALL,v 1.2 2003/07/19 22:41:25 naddy Exp $
|
|
#
|
|
# mod_auth_mysql de-installation
|
|
|
|
set -e
|
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
|
PREFIX=${PKG_PREFIX:-/usr/local}
|
|
CONF=`apxs -q SYSCONFDIR`/httpd.conf
|
|
MODULE=/usr/lib/apache/modules/mod_auth_mysql.so
|
|
|
|
rm -f ${MODULE}
|
|
|
|
echo
|
|
echo "+---------------"
|
|
echo "| To completely deinstall the $1 package you"
|
|
echo "| should edit ${CONF}"
|
|
echo "| and remove the line that starts with "
|
|
echo "| LoadModule auth_mysql_module "
|
|
echo "|"
|
|
echo "| Do not do this if you plan on re-installing the $1"
|
|
echo "| package before the next apache restart."
|
|
echo "+---------------"
|
|
echo
|
|
|
|
exit 0
|