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@gentoo.org>
This commit is contained in:
Ilya Tumaykin
2016-04-26 23:33:23 +08:00
committed by Ian Delaney
parent 6b7a5371d8
commit 8e81330705
+2 -1
View File
@@ -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."