summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-12-13 23:08:04 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-12-13 23:25:47 +0100
commitafc171329b46bf5dcc75f21294b730088cedafbf (patch)
tree97b5f2c466be7711fc53cf99b0be7a08e6c95f76 /kde-apps/print-manager
parentkde-apps/gwenview: Reduce pkg_postinst spam (diff)
downloadgentoo-afc171329b46bf5dcc75f21294b730088cedafbf.tar.gz
gentoo-afc171329b46bf5dcc75f21294b730088cedafbf.tar.bz2
gentoo-afc171329b46bf5dcc75f21294b730088cedafbf.zip
kde-apps/print-manager: Reduce pkg_postinst spam
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/print-manager')
-rw-r--r--kde-apps/print-manager/print-manager-18.12.0.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/kde-apps/print-manager/print-manager-18.12.0.ebuild b/kde-apps/print-manager/print-manager-18.12.0.ebuild
index 2339cfc9baff..6076351f157f 100644
--- a/kde-apps/print-manager/print-manager-18.12.0.ebuild
+++ b/kde-apps/print-manager/print-manager-18.12.0.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
}