openbsd-ports/www/mod_perl/pkg/DEINSTALL
2002-03-26 03:19:43 +00:00

29 lines
634 B
Bash

#!/bin/sh
#
# $OpenBSD: DEINSTALL,v 1.2 2002/03/26 03:19:43 brad Exp $
#
# mod_perl 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_perl.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 perl_module"
echo "|"
echo "| Do not do this if you plan on re-installing $1"
echo "| package at some future time."
echo "+---------------"
echo
exit 0