#!/bin/sh
set -e

if [ "$1" = "purge" ]
then
    if [ -f /etc/apache/httpd.conf ]
    then
	sed -e "/\/usr\/lib\/apache\/modules\/mod_php/d" \
	    /etc/apache/httpd.conf > /tmp/$$
	mv /tmp/$$ /etc/apache/httpd.conf
    fi
fi
