From 1528db955ef84ccc3a35d43911e0169f89b787b1 Mon Sep 17 00:00:00 2001 From: Jakub Ružička Date: Fri, 20 Dec 2024 18:47:21 +0100 Subject: distro: add bash completion to packages --- distro/pkg/deb/knot-resolver6.install | 1 + distro/pkg/rpm/knot-resolver.spec | 1 + 2 files changed, 2 insertions(+) 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 -- cgit v1.2.3