From ae75ce6cbb7ec3652bc60800748dcc1908f568e9 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Thu, 7 Mar 2024 13:15:37 +0100 Subject: [PATCH] auth debian: adjust option name in shipped postinst --- .../authoritative/debian-buster/pdns-backend-bind.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2