diff options
| author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-12-13 22:30:26 +0100 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-12-13 23:23:59 +0100 |
| commit | 12b3263e045ddcaa321e51e93625f42cd906abdf (patch) | |
| tree | e157a147591c4018eea060073d0bb67c1694ce49 /kde-plasma/kinfocenter/kinfocenter-9999.ebuild | |
| parent | fd804a48b7ff74cac6ae444c90ec2d1ee749d31b (diff) | |
| download | kde-12b3263e045ddcaa321e51e93625f42cd906abdf.tar.gz kde-12b3263e045ddcaa321e51e93625f42cd906abdf.tar.bz2 kde-12b3263e045ddcaa321e51e93625f42cd906abdf.zip | |
kde-plasma/kinfocenter: 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-plasma/kinfocenter/kinfocenter-9999.ebuild')
| -rw-r--r-- | kde-plasma/kinfocenter/kinfocenter-9999.ebuild | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/kde-plasma/kinfocenter/kinfocenter-9999.ebuild b/kde-plasma/kinfocenter/kinfocenter-9999.ebuild index ee9401e6cfb..2cfbd78d4e3 100644 --- a/kde-plasma/kinfocenter/kinfocenter-9999.ebuild +++ b/kde-plasma/kinfocenter/kinfocenter-9999.ebuild @@ -6,7 +6,7 @@ EAPI=6 KDE_HANDBOOK="true" inherit kde5 -DESCRIPTION="A utility that provides information about a computer system" +DESCRIPTION="Utility providing information about the computer hardware" HOMEPAGE="https://www.kde.org/applications/system/kinfocenter/" SRC_URI+=" https://www.gentoo.org/assets/img/logo/gentoo-3d-small.png -> glogo-small.png" KEYWORDS="" @@ -87,10 +87,14 @@ src_install() { } pkg_postinst() { - if ! has_version "net-fs/nfs-utils"; then - elog "Installing net-fs/nfs-utils will enable the NFS information module." - fi - if ! has_version "net-fs/samba"; then - elog "Installing net-fs/samba will enable the Samba status information module." + kde5_pkg_postinst + + if [[ -z "${REPLACING_VERSIONS}" ]]; then + if ! has_version "net-fs/nfs-utils"; then + elog "Installing net-fs/nfs-utils will enable the NFS information module." + fi + if ! has_version "net-fs/samba"; then + elog "Installing net-fs/samba will enable the Samba status information module." + fi fi } |
