commit: ccf04e1c61e2591d928ac93870a164d25dcd7882 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Sep 18 02:10:15 2020 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Sep 18 02:10:15 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccf04e1c
sys-auth/pambase: change README call Closes: https://bugs.gentoo.org/743202 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-auth/pambase/pambase-20200917.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys-auth/pambase/pambase-20200917.ebuild b/sys-auth/pambase/pambase-20200917.ebuild index 65f65bd0776..e27b18aff52 100644 --- a/sys-auth/pambase/pambase-20200917.ebuild +++ b/sys-auth/pambase/pambase-20200917.ebuild @@ -77,7 +77,7 @@ src_configure() { src_test() { :; } src_install() { - local DOC_CONTENTS + DOC_CONTENTS= if use passwdqc; then DOC_CONTENTS="To amend the existing password policy please see the man 5 passwdqc.conf @@ -89,11 +89,11 @@ src_install() { page and then edit the /etc/security/pwquality.conf file" fi - readme.gentoo_create_doc + ! [[ -z "${DOC_CONTENTS}" ]] && readme.gentoo_create_doc dopamd -r stack/. } pkg_postinst() { - readme.gentoo_print_elog + ! [[ -z "${DOC_CONTENTS}" ]] && readme.gentoo_print_elog }