commit: 7ace383745f78f291af29cb75d5dc7a48e690d67
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 13 21:28:35 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=7ace3837
kde-apps/print-manager: 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/print-manager/print-manager-18.12.49.9999.ebuild | 6 +++---
kde-apps/print-manager/print-manager-9999.ebuild | 8 ++++----
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/kde-apps/print-manager/print-manager-18.12.49.9999.ebuild
b/kde-apps/print-manager/print-manager-18.12.49.9999.ebuild
index e96a8048fe..4580a2dc8f 100644
--- a/kde-apps/print-manager/print-manager-18.12.49.9999.ebuild
+++ b/kde-apps/print-manager/print-manager-18.12.49.9999.ebuild
@@ -36,8 +36,9 @@ RDEPEND="${DEPEND}
"
pkg_postinst(){
- if ! use gtk ; then
- ewarn
+ kde5_pkg_postinst
+
+ if [[ -z "${REPLACING_VERSIONS}" ]] && ! use gtk ; then
ewarn "By switching off \"gtk\" USE flag, you have chosen to do
without"
ewarn "an important, though optional, runtime dependency:"
ewarn
@@ -48,6 +49,5 @@ pkg_postinst(){
ewarn
ewarn "\"Failed to group devices: 'The name
org.fedoraproject.Config.Printing"
ewarn "was not provided by any .service files'\""
- ewarn
fi
}
diff --git a/kde-apps/print-manager/print-manager-9999.ebuild
b/kde-apps/print-manager/print-manager-9999.ebuild
index 783158c405..4580a2dc8f 100644
--- a/kde-apps/print-manager/print-manager-9999.ebuild
+++ b/kde-apps/print-manager/print-manager-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
@@ -36,8 +36,9 @@ RDEPEND="${DEPEND}
"
pkg_postinst(){
- if ! use gtk ; then
- ewarn
+ kde5_pkg_postinst
+
+ if [[ -z "${REPLACING_VERSIONS}" ]] && ! use gtk ; then
ewarn "By switching off \"gtk\" USE flag, you have chosen to do
without"
ewarn "an important, though optional, runtime dependency:"
ewarn
@@ -48,6 +49,5 @@ pkg_postinst(){
ewarn
ewarn "\"Failed to group devices: 'The name
org.fedoraproject.Config.Printing"
ewarn "was not provided by any .service files'\""
- ewarn
fi
}