Commit | Line | Data |
---|---|---|
5eb1ee34 H |
1 | # arg 1: the new package version |
2 | post_install() { | |
3 | echo 'Generating default config file if not exists...' | |
22cc3999 | 4 | echo $(while echo; do true; done 2>/dev/null | { dtinitconf >/dev/null; } 2>&1) |
9bf471d2 | 5 | touch /etc/dnssec-tools/dnsval.conf.{head,tail} |
22cc3999 H |
6 | echo 'Please run following command as root in case of resolver problems:' |
7 | echo -e '\tdig @e.root-servers.net . ns > /etc/dnssec-tools/root.hints' | |
cb0f9976 | 8 | return 0 |
5eb1ee34 H |
9 | } |
10 | ||
11 | # arg 1: the new package version | |
12 | # arg 2: the old package version | |
13 | post_upgrade() { | |
14 | post_install $1 | |
15 | } |