From: Peter van Dijk Date: Thu, 7 Mar 2024 12:15:37 +0000 (+0100) Subject: auth debian: adjust option name in shipped postinst X-Git-Tag: dnsdist-1.10.0-alpha0~5^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae75ce6cbb7ec3652bc60800748dcc1908f568e9;p=thirdparty%2Fpdns.git auth debian: adjust option name in shipped postinst --- diff --git a/builder-support/debian/authoritative/debian-buster/pdns-backend-bind.postinst b/builder-support/debian/authoritative/debian-buster/pdns-backend-bind.postinst index ba1173fd47..5c2370ab01 100644 --- a/builder-support/debian/authoritative/debian-buster/pdns-backend-bind.postinst +++ b/builder-support/debian/authoritative/debian-buster/pdns-backend-bind.postinst @@ -8,7 +8,7 @@ case "$1" in # Create suggested supermaster.conf, which is included from /etc/powerdns/named.conf by default. BINDCONF=/etc/powerdns/pdns.d/bind.conf SUPERMASTERCONF=/var/lib/powerdns/supermaster.conf - if test -e $BINDCONF && grep "^bind-supermaster-config=$SUPERMASTERCONF" $BINDCONF >/dev/null 2>&1; then + if test -e $BINDCONF && grep "^bind-autoprimary-config=$SUPERMASTERCONF" $BINDCONF >/dev/null 2>&1; then touch $SUPERMASTERCONF chown pdns:pdns $SUPERMASTERCONF fi