summaryrefslogtreecommitdiff
path: root/debian/libapache-mod-php5.prerm
blob: 52a3c963888d0973ee36f593ab7b60d0b945f56c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

set -e

#DEBHELPER#

if [ "$1" != "remove" -a "$1" != "purge" ]; then
        exit 0
fi

for i in apache apache-ssl apache-perl; do
	if [ -e /etc/$i/httpd.conf ]; then
		apache-modconf $i disable mod_php5 quiet
	fi
done

exit 0