diff options
| author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-12-13 22:12:01 +0100 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-12-13 23:23:59 +0100 |
| commit | c80499ce28dea5bbad901238e534554ac61f147c (patch) | |
| tree | df4a1a97e0c277235a2c9b14604bb60d25bb6c57 | |
| parent | c110ca309db2ab637f59b2eb3a48e49f5cb75f14 (diff) | |
| download | kde-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.ebuild | 22 | ||||
| -rw-r--r-- | kde-apps/kmail/kmail-9999.ebuild | 22 |
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 } |
