public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-apps/konqueror/
Date: Thu, 13 Dec 2018 22:24:10 +0000 (UTC)	[thread overview]
Message-ID: <1544739839.cabec49f1b0caa55a5e38504ee26a3bf72176dfe.asturm@gentoo> (raw)

commit:     cabec49f1b0caa55a5e38504ee26a3bf72176dfe
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 13 21:27:04 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=cabec49f

kde-apps/konqueror: 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/konqueror/konqueror-18.12.49.9999.ebuild | 30 ++++++++++++-----------
 kde-apps/konqueror/konqueror-9999.ebuild          | 30 ++++++++++++-----------
 2 files changed, 32 insertions(+), 28 deletions(-)

diff --git a/kde-apps/konqueror/konqueror-18.12.49.9999.ebuild b/kde-apps/konqueror/konqueror-18.12.49.9999.ebuild
index bfb7b0b088..0bdfd6f984 100644
--- a/kde-apps/konqueror/konqueror-18.12.49.9999.ebuild
+++ b/kde-apps/konqueror/konqueror-18.12.49.9999.ebuild
@@ -92,22 +92,24 @@ src_configure() {
 pkg_postinst() {
 	kde5_pkg_postinst
 
-	if ! has_version kde-apps/keditbookmarks:${SLOT} ; then
-		elog "For bookmarks support, install keditbookmarks:"
-		elog "kde-apps/keditbookmarks:${SLOT}"
-	fi
+	if [[ -z "${REPLACING_VERSIONS}" ]]; then
+		if ! has_version kde-apps/keditbookmarks:${SLOT} ; then
+			elog "For bookmarks support, install keditbookmarks:"
+			elog "kde-apps/keditbookmarks:${SLOT}"
+		fi
 
-	if ! has_version kde-apps/dolphin:${SLOT} ; then
-		elog "If you want to use konqueror as a filemanager, install the dolphin kpart:"
-		elog "kde-apps/dolphin:${SLOT}"
-	fi
+		if ! has_version kde-apps/dolphin:${SLOT} ; then
+			elog "If you want to use konqueror as a filemanager, install the dolphin kpart:"
+			elog "kde-apps/dolphin:${SLOT}"
+		fi
 
-	if ! has_version kde-apps/svg:${SLOT} ; then
-		elog "For konqueror to view SVGs, install the svg kpart:"
-		elog "kde-apps/svgpart:${SLOT}"
-	fi
+		if ! has_version kde-apps/svg:${SLOT} ; then
+			elog "For konqueror to view SVGs, install the svg kpart:"
+			elog "kde-apps/svgpart:${SLOT}"
+		fi
 
-	if ! has_version virtual/jre ; then
-		elog "To use Java on webpages install virtual/jre."
+		if ! has_version virtual/jre ; then
+			elog "To use Java on webpages install virtual/jre."
+		fi
 	fi
 }

diff --git a/kde-apps/konqueror/konqueror-9999.ebuild b/kde-apps/konqueror/konqueror-9999.ebuild
index bfb7b0b088..0bdfd6f984 100644
--- a/kde-apps/konqueror/konqueror-9999.ebuild
+++ b/kde-apps/konqueror/konqueror-9999.ebuild
@@ -92,22 +92,24 @@ src_configure() {
 pkg_postinst() {
 	kde5_pkg_postinst
 
-	if ! has_version kde-apps/keditbookmarks:${SLOT} ; then
-		elog "For bookmarks support, install keditbookmarks:"
-		elog "kde-apps/keditbookmarks:${SLOT}"
-	fi
+	if [[ -z "${REPLACING_VERSIONS}" ]]; then
+		if ! has_version kde-apps/keditbookmarks:${SLOT} ; then
+			elog "For bookmarks support, install keditbookmarks:"
+			elog "kde-apps/keditbookmarks:${SLOT}"
+		fi
 
-	if ! has_version kde-apps/dolphin:${SLOT} ; then
-		elog "If you want to use konqueror as a filemanager, install the dolphin kpart:"
-		elog "kde-apps/dolphin:${SLOT}"
-	fi
+		if ! has_version kde-apps/dolphin:${SLOT} ; then
+			elog "If you want to use konqueror as a filemanager, install the dolphin kpart:"
+			elog "kde-apps/dolphin:${SLOT}"
+		fi
 
-	if ! has_version kde-apps/svg:${SLOT} ; then
-		elog "For konqueror to view SVGs, install the svg kpart:"
-		elog "kde-apps/svgpart:${SLOT}"
-	fi
+		if ! has_version kde-apps/svg:${SLOT} ; then
+			elog "For konqueror to view SVGs, install the svg kpart:"
+			elog "kde-apps/svgpart:${SLOT}"
+		fi
 
-	if ! has_version virtual/jre ; then
-		elog "To use Java on webpages install virtual/jre."
+		if ! has_version virtual/jre ; then
+			elog "To use Java on webpages install virtual/jre."
+		fi
 	fi
 }


             reply	other threads:[~2018-12-13 22:24 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-13 22:24 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-23 14:04 [gentoo-commits] proj/kde:master commit in: kde-apps/konqueror/ Andreas Sturmlechner
2024-03-15 14:07 Andreas Sturmlechner
2024-03-03  9:38 Andreas Sturmlechner
2024-02-23  6:26 Sam James
2024-02-23  4:49 Sam James
2023-12-21 11:46 Andreas Sturmlechner
2023-11-11 20:05 Andreas Sturmlechner
2023-10-14 19:52 Andreas Sturmlechner
2023-07-06 12:00 Andreas Sturmlechner
2022-10-06  9:02 Andreas Sturmlechner
2022-08-04  9:35 Andreas Sturmlechner
2021-09-16 18:55 Andreas Sturmlechner
2021-05-12  7:50 Andreas Sturmlechner
2021-04-16 19:37 Andreas Sturmlechner
2021-04-04 19:21 Andreas Sturmlechner
2020-09-07 15:07 Andreas Sturmlechner
2020-07-21 11:17 Andreas Sturmlechner
2020-01-14 19:23 Andreas Sturmlechner
2020-01-07 19:42 Andreas Sturmlechner
2020-01-06 20:14 Andreas Sturmlechner
2020-01-05 12:25 Andreas Sturmlechner
2020-01-04 13:49 Andreas Sturmlechner
2019-01-19 12:22 Andreas Sturmlechner
2018-08-06 23:59 Andreas Sturmlechner
2018-05-03 11:40 Andreas Sturmlechner
2018-02-04 21:14 Andreas Sturmlechner
2016-11-24 13:01 Michael Palimaka
2016-11-19 10:47 Michael Palimaka
2016-11-13 17:48 Michael Palimaka
2016-11-12 10:55 Michael Palimaka
2016-10-22 14:29 Michael Palimaka
2016-09-25 17:39 Michael Palimaka
2016-09-21 14:37 Michael Palimaka
2016-08-04 12:28 Michael Palimaka
2016-08-02 21:22 Johannes Huber
2016-08-02 21:22 Johannes Huber
2016-07-20 15:18 Michael Palimaka
2016-07-18 20:42 Johannes Huber
2016-07-09 18:07 Johannes Huber
2016-04-04 22:51 Johannes Huber
2015-07-01 20:08 Johannes Huber
2015-06-12 19:09 Michael Palimaka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1544739839.cabec49f1b0caa55a5e38504ee26a3bf72176dfe.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox