64
51
# "avahi-daemon") in its /etc/init.d script header. To make
65
52
# insserv(8) happy, we edit our /etc/init.d script header to contain
66
53
# the correct string before the code added by dh_installinit calls
68
55
avahi_version="`dpkg-query --showformat='${Version}' --show avahi-daemon`"
69
56
if dpkg --compare-versions "$avahi_version" le 0.6.31-2; then
70
57
sed --in-place --expression='/^### BEGIN INIT INFO$/,/^### END INIT INFO$/s/^\(# Required-\(Stop\|Start\):.*avahi\)-daemon\>/\1/g' /etc/init.d/mandos