# arg 1: the new package version
post_install() {
echo 'Generating default config file if not exists...'
- while echo; do true; done 2>/dev/null | dtinitconf >/dev/null
+ echo $(while echo; do true; done 2>/dev/null | { dtinitconf >/dev/null; } 2>&1)
touch /etc/dnssec-tools/dnsval.conf.{head,tail}
+ echo 'Please run following command as root in case of resolver problems:'
+ echo -e '\tdig @e.root-servers.net . ns > /etc/dnssec-tools/root.hints'
return 0
}