summaryrefslogtreecommitdiffstats
path: root/debian/libapache2-mod-mime-xattr.prerm
blob: e7db1da03a5c1e16332649e47a9a86aa30813175 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

set -e

#DEBHELPER#

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

if [ -e /etc/apache2/apache2.conf ]; then
	/usr/sbin/a2dismod mod-mime-xattr || true
fi

exit 0