f01c5da19c
Submitted by Xavier Santolaria <xavier@santolaria.net>. mod_mp3 turns the Apache Web Server into an MP3 or Ogg streaming server. It can play from a list of files, either in order or randomly. It can also be used to cache MP3s into memory and have the server operate entirely from memory.
27 lines
597 B
Bash
27 lines
597 B
Bash
#!/bin/sh
|
|
#
|
|
# $OpenBSD: DEINSTALL,v 1.1.1.1 2003/05/20 01:57:18 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_mp3.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 mp3_module"
|
|
echo "|"
|
|
echo "| Do not do this if you plan on re-installing $1"
|
|
echo "| package at some future time."
|
|
echo "+---------------"
|
|
echo
|
|
|
|
exit 0
|