tags 468160 patch
thanks
Hi!
Here is a patch that works for me.
-Pantelis
diff -Naur orig/pdns-2.9.21/debian/pdns-server.postinst pdns-2.9.21/debian/pdns-server.postinst
--- orig/pdns-2.9.21/debian/pdns-server.postinst 2008-03-02 14:58:42.000000000 +0200
+++ pdns-2.9.21/debian/pdns-server.postinst 2008-03-02 13:51:34.000000000 +0200
@@ -85,14 +85,14 @@
sed -i -e "s/^START=.*$/START=yes/" $PDNSDEFAULTTEMP
fi
+ # Install the new configuration files if the user wants it.
+ ucf --debconf-ok $PDNSCONFTEMP $PDNSCONF
+ ucf --debconf-ok $PDNSDEFAULTTEMP $PDNSDEFAULT
+ ucf --debconf-ok $PDNSLOCALTEMP $PDNSLOCAL
+
# Stop the debconf stuff
db_stop || true
- # Install the new configuration files if the user wants it.
- ucf $PDNSCONFTEMP $PDNSCONF
- ucf $PDNSDEFAULTTEMP $PDNSDEFAULT
- ucf $PDNSLOCALTEMP $PDNSLOCAL
-
# Clean up temporary files.
rm -f $PDNSCONFTEMP $PDNSDEFAULTTEMP $PDNSLOCALTEMP