# HG changeset patch # User Heiko Schlittermann # Date 1444914046 -7200 # Node ID 8f56f98387071a3db02ed5e086bf4e46c7e0dfb1 # Parent fdb109617556bbbf20edd492163a652f22b75f5a fix postinst diff -r fdb109617556 -r 8f56f9838707 debian/postinst --- a/debian/postinst Thu Jan 22 15:20:32 2015 +0100 +++ b/debian/postinst Thu Oct 15 15:00:46 2015 +0200 @@ -23,7 +23,10 @@ old=/etc/bind/zones.override new=/etc/check_dns-delegation/override test -f $new && break - touch $old + test -f $old || { + touch -f $new + break + } chmod a+r $old mv $old $new ;;