kill another DEINSTALL by using UNMESSAGE.

This commit is contained in:
xsa 2004-10-13 10:08:56 +00:00
parent c20baa5bed
commit 2adfe5a151
4 changed files with 20 additions and 37 deletions

View File

@ -1,26 +0,0 @@
#!/bin/sh
#
# $OpenBSD: DEINSTALL,v 1.2 2003/07/19 22:41:25 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_random.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 random_module"
echo "|"
echo "| Do not do this if you plan on re-installing the $1"
echo "| package at some future time."
echo "+---------------"
echo
exit 0

View File

@ -1,10 +1,8 @@
+---------------
| To finish the install of mod_random, you need
| to enable the module using the following command
|
| ${PREFIX}/sbin/mod_random-enable
|
| If you already have Apache running on your machine,
| you should not use "apachectl restart" - instead,
| you should fully stop and then restart the server.
+---------------
To finish the install of mod_random, you need
to enable the module using the following command
${PREFIX}/sbin/mod_random-enable
If you already have Apache running on your machine,
you should not use "apachectl restart" - instead,
you should fully stop and then restart the server.

View File

@ -1,5 +1,6 @@
@comment $OpenBSD: PLIST,v 1.2 2004/09/15 18:49:50 espie Exp $
@comment $OpenBSD: PLIST,v 1.3 2004/10/13 10:08:56 xsa Exp $
lib/mod_random.so
sbin/mod_random-enable
share/doc/mod_random/
share/doc/mod_random/faq.html
@extra /usr/lib/apache/modules/mod_random.so

View File

@ -0,0 +1,10 @@
To completely deinstall the mod_random package you should edit
/var/www/conf/httpd.conf
and remove the line that starts with:
LoadModule random_module
Do not do this if you plan on re-installing the mod_random
package at some future time.