commit:     5502b5ca8ca7a360f729914cb0bf8d96b80cc201
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  5 22:57:28 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jul  5 22:57:54 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5502b5ca

kde-plasma/plasma-meta: Fix pkg_postinst exit condition

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-plasma/plasma-meta/plasma-meta-5.18.5.ebuild | 2 +-
 kde-plasma/plasma-meta/plasma-meta-5.19.2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kde-plasma/plasma-meta/plasma-meta-5.18.5.ebuild 
b/kde-plasma/plasma-meta/plasma-meta-5.18.5.ebuild
index 21f98aa79e0..6cec1857bb3 100644
--- a/kde-plasma/plasma-meta/plasma-meta-5.18.5.ebuild
+++ b/kde-plasma/plasma-meta/plasma-meta-5.18.5.ebuild
@@ -84,7 +84,7 @@ RDEPEND="
 
 pkg_postinst() {
        has_version sys-auth/consolekit || return
-       use elogind || use systemd && return
+       use elogind || use systemd || return
        ewarn "An existing installation of sys-auth/consolekit was detected 
even though"
        ewarn "${PN} was configured with USE $(usex elogind elogind systemd)."
        ewarn "There can only be one session manager at runtime, otherwise 
random issues"

diff --git a/kde-plasma/plasma-meta/plasma-meta-5.19.2.ebuild 
b/kde-plasma/plasma-meta/plasma-meta-5.19.2.ebuild
index 08348f24712..4fea36bac72 100644
--- a/kde-plasma/plasma-meta/plasma-meta-5.19.2.ebuild
+++ b/kde-plasma/plasma-meta/plasma-meta-5.19.2.ebuild
@@ -85,7 +85,7 @@ RDEPEND="
 
 pkg_postinst() {
        has_version sys-auth/consolekit || return
-       use elogind || use systemd && return
+       use elogind || use systemd || return
        ewarn "An existing installation of sys-auth/consolekit was detected 
even though"
        ewarn "${PN} was configured with USE $(usex elogind elogind systemd)."
        ewarn "There can only be one session manager at runtime, otherwise 
random issues"

Reply via email to