csync-git
[mirrors/ArchLinux-Packages.git] / dnssec-tools / dnssec-tools.install
index fb22a0a5ac7bfe233eb49815d7cc93ae5619ba5c..30cc419239f63c4427966cac71cd30b7f90cafd3 100644 (file)
@@ -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
@@ -9,7 +13,3 @@ post_install() {
 post_upgrade() {
        post_install $1
 }
-
-# arg 1:  the old package version
-pre_remove() {
-}
This page took 0.09953 seconds and 4 git commands to generate.