summaryrefslogtreecommitdiffstats
path: root/debian/libapache2-mod-dnssd.postinst
blob: 81c12019703f96ee4d34d2386ad147f56bca07fd (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-dnssd || true
fi

exit 0