1a8dbabb03
-- mod_gzip transparently compresses the output of apache to client browsers. It uses the 'Accept-Encoding' header to determine whether or not the client browser wants gzipped content.
29 lines
638 B
Bash
29 lines
638 B
Bash
#!/bin/sh
|
|
#
|
|
# $OpenBSD: DEINSTALL,v 1.1.1.1 2001/07/15 22:52:46 avsm Exp $
|
|
#
|
|
# mod_gzip 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_gzip.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 gzip_module"
|
|
echo "|"
|
|
echo "| Do not do this if you plan on re-installing $1"
|
|
echo "| package at some future time."
|
|
echo "+---------------"
|
|
echo
|
|
|
|
exit 0
|