diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-07-12 20:00:03 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-07-13 01:07:42 +0200 |
commit | abc937f7b15699598c9197fc12073ff6411c05a2 (patch) | |
tree | 4bddd934fc6d9c45620c7c76151f3ef64d342c3c /sys-auth/elogind | |
parent | kde-frameworks/extra-cmake-modules: Skip ecm_add_test w/o Qt5::Test (diff) | |
download | gentoo-abc937f7b15699598c9197fc12073ff6411c05a2.tar.gz gentoo-abc937f7b15699598c9197fc12073ff6411c05a2.tar.bz2 gentoo-abc937f7b15699598c9197fc12073ff6411c05a2.zip |
sys-auth/elogind: Add a warning about IUSE="-pam" in postinst
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sys-auth/elogind')
-rw-r--r-- | sys-auth/elogind/elogind-243.7.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-auth/elogind/elogind-243.7.ebuild b/sys-auth/elogind/elogind-243.7.ebuild index 3354180300c6..43b02dab0c6a 100644 --- a/sys-auth/elogind/elogind-243.7.ebuild +++ b/sys-auth/elogind/elogind-243.7.ebuild @@ -111,6 +111,11 @@ src_install() { } pkg_postinst() { + if ! use pam; then + ewarn "${PN} will not be managing user logins/seats without USE=\"pam\"!" + ewarn "In other words, it will be useless for most applications." + ewarn + fi if [[ "$(rc-config list boot | grep elogind)" != "" ]]; then elog "elogind is currently started from boot runlevel." elif [[ "$(rc-config list default | grep elogind)" != "" ]]; then |