commit:     fd804a48b7ff74cac6ae444c90ec2d1ee749d31b
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 13 21:29:27 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Dec 13 22:23:59 2018 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=fd804a48

kde-frameworks/solid: Reduce pkg_postinst spam

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-frameworks/solid/solid-9999.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/kde-frameworks/solid/solid-9999.ebuild 
b/kde-frameworks/solid/solid-9999.ebuild
index 1a07b0ea7c..142e5626e5 100644
--- a/kde-frameworks/solid/solid-9999.ebuild
+++ b/kde-frameworks/solid/solid-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -23,10 +23,11 @@ DEPEND="${RDEPEND}
        nls? ( $(add_qt_dep linguist-tools) )
        test? ( $(add_qt_dep qtconcurrent) )
 "
+
 pkg_postinst() {
        kde5_pkg_postinst
 
-       if ! has_version "app-misc/media-player-info" ; then
+       if [[ -z "${REPLACING_VERSIONS}" ]] && ! has_version 
"app-misc/media-player-info" ; then
                elog "For media player support, install 
app-misc/media-player-info"
        fi
 }

Reply via email to