summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2020-09-20 11:54:59 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-09-20 11:55:41 +0300
commit3014aa74c3f478886fb05496a928daa37c381912 (patch)
tree9ce75d03ca2a043475090c843dc622c32fbe982b /sys-auth
parentdev-haskell/abstract-deque-tests: bump up to EAPI=7 (diff)
downloadgentoo-3014aa74c3f478886fb05496a928daa37c381912.tar.gz
gentoo-3014aa74c3f478886fb05496a928daa37c381912.tar.bz2
gentoo-3014aa74c3f478886fb05496a928daa37c381912.zip
sys-auth/pambase: improve readme handeling
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'sys-auth')
-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
}