summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Ružička <jakub.ruzicka@nic.cz>2024-12-20 18:47:21 +0100
committerAleš Mrázek <ales.mrazek@nic.cz>2024-12-20 22:24:22 +0100
commit1528db955ef84ccc3a35d43911e0169f89b787b1 (patch)
treed17ed198260f2ec4e8be3f7ae1b52cf4f622516d
parentNEWS: update (diff)
downloadknot-resolver-1528db955ef84ccc3a35d43911e0169f89b787b1.tar.xz
knot-resolver-1528db955ef84ccc3a35d43911e0169f89b787b1.zip
distro: add bash completion to packages
-rw-r--r--distro/pkg/deb/knot-resolver6.install1
-rw-r--r--distro/pkg/rpm/knot-resolver.spec1
2 files changed, 2 insertions, 0 deletions
diff --git a/distro/pkg/deb/knot-resolver6.install b/distro/pkg/deb/knot-resolver6.install
index 7b9d0c41..068f6c19 100644
--- a/distro/pkg/deb/knot-resolver6.install
+++ b/distro/pkg/deb/knot-resolver6.install
@@ -34,3 +34,4 @@ usr/lib/systemd/system/knot-resolver.service
usr/lib/tmpfiles.d/knot-resolver.conf
usr/sbin/kres-cache-gc
usr/sbin/kresd
+usr/share/bash-completion/completions/kresctl
diff --git a/distro/pkg/rpm/knot-resolver.spec b/distro/pkg/rpm/knot-resolver.spec
index 91c1a148..504ae7ed 100644
--- a/distro/pkg/rpm/knot-resolver.spec
+++ b/distro/pkg/rpm/knot-resolver.spec
@@ -296,6 +296,7 @@ getent passwd knot-resolver >/dev/null || useradd -r -g knot-resolver -d %{_sysc
%{python3_sitearch}/knot_resolver*
%{_mandir}/man8/kresd.8.gz
%{_mandir}/man8/kresctl.8.gz
+%{_datadir}/bash-completion/completions/kresctl
%files devel
%{_includedir}/libkres