From 03efd9dc6df744e3776778c88b2a562ee5146bb9 Mon Sep 17 00:00:00 2001 From: Yixun Lan Date: Tue, 9 Jul 2024 12:07:33 +0000 Subject: [PATCH] net-vpn/tinc: add bash-completion alias for tincd Closes: https://bugs.gentoo.org/925258 Signed-off-by: Yixun Lan --- .../{tinc-1.1_pre18-r1.ebuild => tinc-1.1_pre18-r2.ebuild} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename net-vpn/tinc/{tinc-1.1_pre18-r1.ebuild => tinc-1.1_pre18-r2.ebuild} (96%) diff --git a/net-vpn/tinc/tinc-1.1_pre18-r1.ebuild b/net-vpn/tinc/tinc-1.1_pre18-r2.ebuild similarity index 96% rename from net-vpn/tinc/tinc-1.1_pre18-r1.ebuild rename to net-vpn/tinc/tinc-1.1_pre18-r2.ebuild index 0fe4682890c83..c7e7e106b87e3 100644 --- a/net-vpn/tinc/tinc-1.1_pre18-r1.ebuild +++ b/net-vpn/tinc/tinc-1.1_pre18-r2.ebuild @@ -6,7 +6,7 @@ EAPI=8 MY_PV=${PV/_/} MY_P=${PN}-${MY_PV} -inherit autotools flag-o-matic systemd +inherit autotools bash-completion-r1 flag-o-matic systemd DESCRIPTION="tinc is an easy to configure VPN implementation" HOMEPAGE="https://www.tinc-vpn.org/" @@ -80,6 +80,8 @@ src_install() { doconfd "${FILESDIR}"/tinc.networks newconfd "${FILESDIR}"/tincd.conf tincd newinitd "${FILESDIR}"/tincd-r2 tincd + + bashcomp_alias tinc tincd } pkg_postinst() {