diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-09-12 12:36:30 +0200 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-09-12 12:36:30 +0200 |
commit | 89e80782350327dbcae6e70412b162f570274475 (patch) | |
tree | 572a52ab00c31fac0084ac9aec8871ac2a5532dc /net-misc/netctl/netctl-1.10.ebuild | |
parent | app-leechcraft/lc-ooronee: Use optfeature from eutils.eclass (diff) | |
download | gentoo-89e80782350327dbcae6e70412b162f570274475.tar.gz gentoo-89e80782350327dbcae6e70412b162f570274475.tar.bz2 gentoo-89e80782350327dbcae6e70412b162f570274475.zip |
net-misc/netctl: Use optfeature from eutils.eclass
Package-Manager: portage-2.2.20
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'net-misc/netctl/netctl-1.10.ebuild')
-rw-r--r-- | net-misc/netctl/netctl-1.10.ebuild | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/net-misc/netctl/netctl-1.10.ebuild b/net-misc/netctl/netctl-1.10.ebuild index 88a933e680b8..4a6ba6fb7d38 100644 --- a/net-misc/netctl/netctl-1.10.ebuild +++ b/net-misc/netctl/netctl-1.10.ebuild @@ -4,7 +4,7 @@ EAPI=5 -inherit bash-completion-r1 +inherit bash-completion-r1 eutils if [[ ${PV} = *9999* ]]; then EGIT_REPO_URI="git://projects.archlinux.org/netctl.git" @@ -54,19 +54,6 @@ src_install() { newins contrib/zsh-completion _netctl } -optfeature() { - local desc=$1 - shift - while (( $# )); do - if has_version "$1"; then - elog " [I] $1 for ${desc}" - else - elog " [ ] $1 for ${desc}" - fi - shift - done -} - pkg_postinst() { if [[ -z ${REPLACING_VERSIONS} ]]; then elog "To get additional features, a number of optional runtime dependencies may be" |