summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-12-13 22:12:01 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-12-13 23:23:59 +0100
commitc80499ce28dea5bbad901238e534554ac61f147c (patch)
treedf4a1a97e0c277235a2c9b14604bb60d25bb6c57
parentc110ca309db2ab637f59b2eb3a48e49f5cb75f14 (diff)
downloadkde-c80499ce28dea5bbad901238e534554ac61f147c.tar.gz
kde-c80499ce28dea5bbad901238e534554ac61f147c.tar.bz2
kde-c80499ce28dea5bbad901238e534554ac61f147c.zip
kde-apps/kmail: 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/kmail/kmail-18.12.49.9999.ebuild22
-rw-r--r--kde-apps/kmail/kmail-9999.ebuild22
2 files changed, 24 insertions, 20 deletions
diff --git a/kde-apps/kmail/kmail-18.12.49.9999.ebuild b/kde-apps/kmail/kmail-18.12.49.9999.ebuild
index eccba695d1c..ad1241a59c1 100644
--- a/kde-apps/kmail/kmail-18.12.49.9999.ebuild
+++ b/kde-apps/kmail/kmail-18.12.49.9999.ebuild
@@ -97,14 +97,16 @@ pkg_postinst() {
echo "${1} ($(has_version ${1} || echo "not ")installed)"
}
- elog "KMail supports the following runtime dependencies:"
- elog " Virus detection:"
- elog " $(pkg_is_installed app-antivirus/clamav)"
- elog " Spam filtering:"
- elog " $(pkg_is_installed mail-filter/bogofilter)"
- elog " $(pkg_is_installed mail-filter/spamassassin)"
- elog " Fancy e-mail headers and various useful plugins:"
- elog " $(pkg_is_installed kde-apps/kdepim-addons:${SLOT})"
- elog " Crypto config and certificate details GUI:"
- elog " $(pkg_is_installed kde-apps/kleopatra:${SLOT})"
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ elog "KMail supports the following runtime dependencies:"
+ elog " Virus detection:"
+ elog " $(pkg_is_installed app-antivirus/clamav)"
+ elog " Spam filtering:"
+ elog " $(pkg_is_installed mail-filter/bogofilter)"
+ elog " $(pkg_is_installed mail-filter/spamassassin)"
+ elog " Fancy e-mail headers and various useful plugins:"
+ elog " $(pkg_is_installed kde-apps/kdepim-addons:${SLOT})"
+ elog " Crypto config and certificate details GUI:"
+ elog " $(pkg_is_installed kde-apps/kleopatra:${SLOT})"
+ fi
}
diff --git a/kde-apps/kmail/kmail-9999.ebuild b/kde-apps/kmail/kmail-9999.ebuild
index eccba695d1c..ad1241a59c1 100644
--- a/kde-apps/kmail/kmail-9999.ebuild
+++ b/kde-apps/kmail/kmail-9999.ebuild
@@ -97,14 +97,16 @@ pkg_postinst() {
echo "${1} ($(has_version ${1} || echo "not ")installed)"
}
- elog "KMail supports the following runtime dependencies:"
- elog " Virus detection:"
- elog " $(pkg_is_installed app-antivirus/clamav)"
- elog " Spam filtering:"
- elog " $(pkg_is_installed mail-filter/bogofilter)"
- elog " $(pkg_is_installed mail-filter/spamassassin)"
- elog " Fancy e-mail headers and various useful plugins:"
- elog " $(pkg_is_installed kde-apps/kdepim-addons:${SLOT})"
- elog " Crypto config and certificate details GUI:"
- elog " $(pkg_is_installed kde-apps/kleopatra:${SLOT})"
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ elog "KMail supports the following runtime dependencies:"
+ elog " Virus detection:"
+ elog " $(pkg_is_installed app-antivirus/clamav)"
+ elog " Spam filtering:"
+ elog " $(pkg_is_installed mail-filter/bogofilter)"
+ elog " $(pkg_is_installed mail-filter/spamassassin)"
+ elog " Fancy e-mail headers and various useful plugins:"
+ elog " $(pkg_is_installed kde-apps/kdepim-addons:${SLOT})"
+ elog " Crypto config and certificate details GUI:"
+ elog " $(pkg_is_installed kde-apps/kleopatra:${SLOT})"
+ fi
}