diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:00:36 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:00:36 +0000 |
commit | fb39d4bfc9cd59ef192f435d13ebc423590bc3d8 (patch) | |
tree | 5953a2c4586bb637a6a6924eb9d7aad39de39db0 /debian/rules | |
parent | Updating vcs fields. (diff) | |
download | bind9-fb39d4bfc9cd59ef192f435d13ebc423590bc3d8.tar.xz bind9-fb39d4bfc9cd59ef192f435d13ebc423590bc3d8.zip |
Using update-alternatives to handle /usr/bin/dig.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index d7447b1..67d774e 100755 --- a/debian/rules +++ b/debian/rules @@ -117,6 +117,13 @@ override_dh_install: # Install apparmor profile dh_apparmor -pbind9 --profile-name=usr.sbin.named + # update-alternatives: dig + if [ -e debian/bind9-dnsutils/usr/bin/dig ]; \ + then \ + mv debian/bind9-dnsutils/usr/bin/dig debian/bind9-dnsutils/usr/bin/dig.bind9; \ + mv debian/bind9-dnsutils/usr/share/man/man1/dig.1 debian/bind9-dnsutils/usr/share/man/man1/dig.bind9.1; \ + fi + override_dh_missing: dh_missing $(EXCLUDE_FILES) --fail-missing |