commit: 8e8133070565261b08a479a93892b0d0d9885df3
Author: Ilya Tumaykin <itumaykin <AT> gmail <DOT> com>
AuthorDate: Tue Apr 26 10:04:04 2016 +0000
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Tue Apr 26 15:33:23 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e813307
media-video/mpv: don't bother zsh users with bash completion in 0.17.0-r2
Package-Manager: portage-2.2.28
Signed-off-by: Ian Delaney <idella4 <AT> gentoo.org>
media-video/mpv/mpv-0.17.0-r2.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/media-video/mpv/mpv-0.17.0-r2.ebuild
b/media-video/mpv/mpv-0.17.0-r2.ebuild
index 33a5f17..495b748 100644
--- a/media-video/mpv/mpv-0.17.0-r2.ebuild
+++ b/media-video/mpv/mpv-0.17.0-r2.ebuild
@@ -282,7 +282,8 @@ pkg_postinst() {
gnome2_icon_cache_update
# bash-completion prior to 2.3-r1 installs (mostly broken) mpv
completion.
- if use cli && ! has_version '<app-shells/bash-completion-2.3-r1' && \
+ if use cli && ! use zsh-completion && \
+ ! has_version '<app-shells/bash-completion-2.3-r1' && \
! has_version 'app-shells/mpv-bash-completion'; then
elog "If you want to have command-line completion via
bash-completion,"
elog "please install app-shells/mpv-bash-completion."