summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2024-07-09 12:07:33 +0000
committerYixun Lan <dlan@gentoo.org>2024-07-09 12:08:36 +0000
commit03efd9dc6df744e3776778c88b2a562ee5146bb9 (patch)
treea568f8504a654635172a376662728974be5bfe87 /net-vpn
parentsys-kernel/gentoo-kernel-bin: Bump to 6.6.38 (diff)
downloadgentoo-03efd9dc6df744e3776778c88b2a562ee5146bb9.tar.gz
gentoo-03efd9dc6df744e3776778c88b2a562ee5146bb9.tar.bz2
gentoo-03efd9dc6df744e3776778c88b2a562ee5146bb9.zip
net-vpn/tinc: add bash-completion alias for tincd
Closes: https://bugs.gentoo.org/925258 Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'net-vpn')
-rw-r--r--net-vpn/tinc/tinc-1.1_pre18-r2.ebuild (renamed from net-vpn/tinc/tinc-1.1_pre18-r1.ebuild)4
1 files changed, 3 insertions, 1 deletions
diff --git a/net-vpn/tinc/tinc-1.1_pre18-r1.ebuild b/net-vpn/tinc/tinc-1.1_pre18-r2.ebuild
index 0fe4682890c8..c7e7e106b87e 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() {