media-video/mpv: remove obsolete postinst conditionals in 9999
authorIlya Tumaykin <itumaykin@gmail.com>
Mon, 1 May 2017 17:52:57 +0000 (20:52 +0300)
committerDavid Seifert <soap@gentoo.org>
Thu, 4 May 2017 16:28:01 +0000 (18:28 +0200)
Both mpv-bash-completion and recent enough bash-completion are stable
now. No need for this safety net anymore since the blockers are there.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

media-video/mpv/mpv-9999.ebuild

index 7b17c8bd540dd2cd09cdfc41f2cd7734ba70bd12..2ae442f217b32a90a8caf2ee5ab9db1fb6767607 100644 (file)
@@ -344,9 +344,7 @@ pkg_postinst() {
                elog "or Mac OS Aqua. Consider enabling the 'opengl' USE flag."
        fi
 
-       # bash-completion < 2.3-r1 already installs (mostly broken) mpv completion.
-       if use cli && ! has_version '<app-shells/bash-completion-2.3-r1' && \
-               ! has_version 'app-shells/mpv-bash-completion'; then
+       if use cli && ! 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."
        fi