summaryrefslogtreecommitdiffstats
path: root/distro
diff options
context:
space:
mode:
authorAleš Mrázek <ales.mrazek@nic.cz>2024-12-23 09:26:44 +0100
committerAleš Mrázek <ales.mrazek@nic.cz>2024-12-23 09:26:44 +0100
commitcde3cfdfd26cfefc19f44d454aa671230eb42d5f (patch)
treed17ed198260f2ec4e8be3f7ae1b52cf4f622516d /distro
parentMerge !1643: kr_module_load(): clean up the code a bit (diff)
parentdistro: add bash completion to packages (diff)
downloadknot-resolver-cde3cfdfd26cfefc19f44d454aa671230eb42d5f.tar.xz
knot-resolver-cde3cfdfd26cfefc19f44d454aa671230eb42d5f.zip
Merge branch 'kresctl-tab-completion' into 'master'
kresctl: implement tab completion See merge request knot/knot-resolver!1622
Diffstat (limited to 'distro')
-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