media-video/mpv: cleanup mpv-bash-completion postinst check
authorIlya Tumaykin <itumaykin@gmail.com>
Thu, 22 Feb 2018 22:44:58 +0000 (01:44 +0300)
committerMichał Górny <mgorny@gentoo.org>
Fri, 23 Feb 2018 20:38:51 +0000 (21:38 +0100)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

media-video/mpv/mpv-9999.ebuild

index 91f9df5bf5820c00ec9bbd58dbe62ebdf75d6afe..581119576d3477cfedbf03da4883d0278c69a5cc 100644 (file)
@@ -331,8 +331,8 @@ pkg_postinst() {
                elog "please install app-shells/mpv-bash-completion."
        fi
 
-       if use cli && [[ -n ${REPLACING_VERSIONS} ]] && \
-               has_version 'app-shells/mpv-bash-completion'; then
+       if use cli && [[ -n ${REPLACING_VERSIONS} ]] &&
+                       has_version 'app-shells/mpv-bash-completion'; then
                elog "If command-line completion doesn't work after mpv update,"
                elog "please rebuild app-shells/mpv-bash-completion."
        fi