commit: 3014aa74c3f478886fb05496a928daa37c381912 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> AuthorDate: Sun Sep 20 08:54:59 2020 +0000 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> CommitDate: Sun Sep 20 08:55:41 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3014aa74
sys-auth/pambase: improve readme handeling Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> sys-auth/pambase/pambase-20200917.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-auth/pambase/pambase-20200917.ebuild b/sys-auth/pambase/pambase-20200917.ebuild index e27b18aff52..a1bd1d6b4ba 100644 --- a/sys-auth/pambase/pambase-20200917.ebuild +++ b/sys-auth/pambase/pambase-20200917.ebuild @@ -89,11 +89,11 @@ src_install() { page and then edit the /etc/security/pwquality.conf file" fi - ! [[ -z "${DOC_CONTENTS}" ]] && readme.gentoo_create_doc + { use passwdqc || use pwquality; } && readme.gentoo_create_doc dopamd -r stack/. } pkg_postinst() { - ! [[ -z "${DOC_CONTENTS}" ]] && readme.gentoo_print_elog + { use passwdqc || use pwquality; } && readme.gentoo_print_elog }