summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-auth/pambase/pambase-20200917.ebuild')
-rw-r--r--sys-auth/pambase/pambase-20200917.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-auth/pambase/pambase-20200917.ebuild b/sys-auth/pambase/pambase-20200917.ebuild
index e27b18aff529..a1bd1d6b4bae 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
}