summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-12-13 22:29:27 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-12-13 23:23:59 +0100
commitfd804a48b7ff74cac6ae444c90ec2d1ee749d31b (patch)
tree8f1c76a34a74055fd29fb1cb2be61d20ebd66703
parent7ace383745f78f291af29cb75d5dc7a48e690d67 (diff)
downloadkde-fd804a48b7ff74cac6ae444c90ec2d1ee749d31b.tar.gz
kde-fd804a48b7ff74cac6ae444c90ec2d1ee749d31b.tar.bz2
kde-fd804a48b7ff74cac6ae444c90ec2d1ee749d31b.zip
kde-frameworks/solid: Reduce pkg_postinst spam
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-frameworks/solid/solid-9999.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/kde-frameworks/solid/solid-9999.ebuild b/kde-frameworks/solid/solid-9999.ebuild
index 1a07b0ea7ce..142e5626e5e 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
}