Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 17 lines (13 sloc) 0.377 kB
#!/bin/sh
PATH="/bin:/usr/bin:/sbin:/usr/sbin"
if dpkg -l apache2 >/dev/null 2>&1; then
DAEMON="apache2"
cp apache/oggz-chop.conf /etc/apache2/conf.d/
elif dpkg -l apache >/dev/null 2>&1; then
DAEMON="apache"
cp apache/oggz-chop.conf /etc/apache/conf.d
else
echo 1>&2 "Error: Neither apache2 or apache are installed"
exit 1
fi
invoke-rc.d $DAEMON reload || true
Jump to Line
Something went wrong with that request. Please try again.