diff options
| author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-12-13 22:28:35 +0100 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-12-13 23:23:59 +0100 |
| commit | 7ace383745f78f291af29cb75d5dc7a48e690d67 (patch) | |
| tree | e0aac692724f2b111683fce334bee896854a53b5 | |
| parent | cabec49f1b0caa55a5e38504ee26a3bf72176dfe (diff) | |
| download | kde-7ace383745f78f291af29cb75d5dc7a48e690d67.tar.gz kde-7ace383745f78f291af29cb75d5dc7a48e690d67.tar.bz2 kde-7ace383745f78f291af29cb75d5dc7a48e690d67.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>
| -rw-r--r-- | kde-apps/print-manager/print-manager-18.12.49.9999.ebuild | 6 | ||||
| -rw-r--r-- | 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 e96a8048fef..4580a2dc8f0 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 783158c4058..4580a2dc8f0 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 } |
