openbsd-ports/www/p5-Apache-MP3/pkg/DEINSTALL

27 lines
690 B
Plaintext
Raw Normal View History

#!/bin/sh
#
# $OpenBSD: DEINSTALL,v 1.2 2002/02/07 12:21:39 naddy Exp $
#
# apache_mp3 de-installation
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONF=`/usr/sbin/apxs -q SYSCONFDIR`/httpd.conf
echo
echo "+---------------"
echo "| To completely deinstall the $1 package you"
echo "| need to perform these steps as root:"
echo "|"
echo "| delete the directory apache_mp3 in your webserver's DirectoryRoot;"
echo "| edit ${CONF}"
echo "| and remove the <Location> entries dealing with your mp3 or ogg files."
echo "|"
echo "| Do not do this if you plan on re-installing the $1"
echo "| package at some future time."
echo "+---------------"
echo
exit 0