net-vpn/tinc: add bash-completion alias for tincd

Closes: https://bugs.gentoo.org/925258
Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
Yixun Lan
2024-07-09 12:07:33 +00:00
parent ff50bd5d01
commit 03efd9dc6d

View File

@@ -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() {