summaryrefslogtreecommitdiffstats
path: root/debian/libapache2-mod-dnssd.postinst
blob: 5045810426e07c35dcdf6de3c0b257319ccc2a08 (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