summaryrefslogtreecommitdiffstats
path: root/debian/libapache2-mod-mime-xattr.postinst
blob: 3b4b8296c81369866a835d51ae1bff07eb7471df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh -e

set -e

#DEBHELPER#

if [ "$1" != "configure" ]; then
    exit 0
fi

if [ -n "$2" ]; then
# we're upgrading, don't ask again
    exit 0
fi

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

exit 0