summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Tumaykin <itumaykin@gmail.com>2016-04-26 13:04:04 +0300
committerIan Delaney <idella4@gentoo.org>2016-04-26 23:33:23 +0800
commit8e8133070565261b08a479a93892b0d0d9885df3 (patch)
tree7e47b4cfce4e32f54f6979a8047a1eb3914de8b5 /media-video
parentmedia-video/mpv: don't enable dvd USE by default in 0.17.0-r2 (diff)
downloadgentoo-8e8133070565261b08a479a93892b0d0d9885df3.tar.gz
gentoo-8e8133070565261b08a479a93892b0d0d9885df3.tar.bz2
gentoo-8e8133070565261b08a479a93892b0d0d9885df3.zip
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>
Diffstat (limited to 'media-video')
-rw-r--r--media-video/mpv/mpv-0.17.0-r2.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/media-video/mpv/mpv-0.17.0-r2.ebuild b/media-video/mpv/mpv-0.17.0-r2.ebuild
index 33a5f174401f..495b7488f971 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."