summaryrefslogtreecommitdiffstats
path: root/debian/knot-dnsutils.postinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 21:21:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 21:21:35 +0000
commitf41d4f3bd7e64e622ad19605107610c4b7c2a296 (patch)
treedc638c6695cac5d9cf07f38fddb545ad19a07264 /debian/knot-dnsutils.postinst
parentAdding update-alternatives to use kdig for /usr/bin/dig (Closes: #932087). (diff)
downloadknot-f41d4f3bd7e64e622ad19605107610c4b7c2a296.tar.xz
knot-f41d4f3bd7e64e622ad19605107610c4b7c2a296.zip
Adding update-alternatives to use knsupdate for /usr/bin/nsupdate.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/knot-dnsutils.postinst')
-rw-r--r--debian/knot-dnsutils.postinst5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/knot-dnsutils.postinst b/debian/knot-dnsutils.postinst
index e406690..6dd71b7 100644
--- a/debian/knot-dnsutils.postinst
+++ b/debian/knot-dnsutils.postinst
@@ -8,6 +8,11 @@ case "${1}" in
update-alternatives --quiet \
--install /usr/bin/dig dig /usr/bin/kdig 10 \
--slave /usr/share/man/man1/dig.1.gz dig.1.gz /usr/share/man/man1/kdig.1.gz
+
+ # update-alternatives: nsupdate
+ update-alternatives --quiet \
+ --install /usr/bin/nsupdate nsupdate /usr/bin/knsupdate 10 \
+ --slave /usr/share/man/man1/nsupdate.1.gz nsupdate.1.gz /usr/share/man/man1/knsupdate.1.gz
;;
abort-upgrade|abort-remove|abort-deconfigure)