commit:     c110ca309db2ab637f59b2eb3a48e49f5cb75f14
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 13 21:09:55 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=c110ca30

kde-apps/kate: Reduce pkg_postinst spam

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

 kde-apps/kate/kate-18.12.49.9999.ebuild | 2 +-
 kde-apps/kate/kate-9999.ebuild          | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/kde-apps/kate/kate-18.12.49.9999.ebuild 
b/kde-apps/kate/kate-18.12.49.9999.ebuild
index 800a84214f..ea0091ddcc 100644
--- a/kde-apps/kate/kate-18.12.49.9999.ebuild
+++ b/kde-apps/kate/kate-18.12.49.9999.ebuild
@@ -76,7 +76,7 @@ src_configure() {
 pkg_postinst() {
        kde5_pkg_postinst
 
-       if use addons; then
+       if [[ -z "${REPLACING_VERSIONS}" ]] && use addons; then
                elog "The functionality of ktexteditorpreview plugin can be 
extended with:"
                elog "  kde-misc/kmarkdownwebview"
                elog "  media-gfx/kgraphviewer"

diff --git a/kde-apps/kate/kate-9999.ebuild b/kde-apps/kate/kate-9999.ebuild
index ce8e6b9061..ea0091ddcc 100644
--- a/kde-apps/kate/kate-9999.ebuild
+++ b/kde-apps/kate/kate-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
@@ -76,7 +76,7 @@ src_configure() {
 pkg_postinst() {
        kde5_pkg_postinst
 
-       if use addons; then
+       if [[ -z "${REPLACING_VERSIONS}" ]] && use addons; then
                elog "The functionality of ktexteditorpreview plugin can be 
extended with:"
                elog "  kde-misc/kmarkdownwebview"
                elog "  media-gfx/kgraphviewer"

Reply via email to