openbsd-ports/www/mod_layout/pkg/DEINSTALL
naddy c4299a9b4b Import mod_layout 3.2.
Submitted by Xavier Santolaria <xavier@santolaria.net>.

mod_layout is an Apache module to wrap pages.  This means that you
can add at both the beginning (header) and the end (footer) of the
document some information.
2003-05-25 19:57:56 +00:00

27 lines
617 B
Bash

#!/bin/sh
#
# $OpenBSD: DEINSTALL,v 1.1.1.1 2003/05/25 19:57:56 naddy Exp $
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_layout.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 layout_module"
echo "|"
echo "| Do not do this if you plan on re-installing $1"
echo "| package at some future time."
echo "+---------------"
echo
exit 0