summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-09-18 02:10:15 +0000
committerSam James <sam@gentoo.org>2020-09-18 02:10:15 +0000
commitccf04e1c61e2591d928ac93870a164d25dcd7882 (patch)
tree628c4e78ab4a50fd8289a68482dcb83759c7a5e7 /sys-auth/pambase
parentapp-admin/rcm: cleanup old (diff)
downloadgentoo-ccf04e1c61e2591d928ac93870a164d25dcd7882.tar.gz
gentoo-ccf04e1c61e2591d928ac93870a164d25dcd7882.tar.bz2
gentoo-ccf04e1c61e2591d928ac93870a164d25dcd7882.zip
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@gentoo.org>
Diffstat (limited to 'sys-auth/pambase')
-rw-r--r--sys-auth/pambase/pambase-20200917.ebuild6
1 files 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
}