X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=dnssec-tools%2Fdnssec-tools.install;h=30cc419239f63c4427966cac71cd30b7f90cafd3;hb=c2ae5380d171ed74cf7a5be5b9d6a61bb733a7e6;hp=3a5499faea11c2e3ef75d9298ee7c3fe5c263287;hpb=13a73c393b39f3dd9d769a4c1a40867ab118949e;p=mirrors%2FArchLinux-Packages.git diff --git a/dnssec-tools/dnssec-tools.install b/dnssec-tools/dnssec-tools.install index 3a5499f..30cc419 100644 --- a/dnssec-tools/dnssec-tools.install +++ b/dnssec-tools/dnssec-tools.install @@ -1,7 +1,11 @@ # 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 } # arg 1: the new package version