Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/pambase/
Date: Fri, 18 Sep 2020 02:10:28
Message-Id: 1600395015.ccf04e1c61e2591d928ac93870a164d25dcd7882.sam@gentoo
1 commit: ccf04e1c61e2591d928ac93870a164d25dcd7882
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 18 02:10:15 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 18 02:10:15 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccf04e1c
7
8 sys-auth/pambase: change README call
9
10 Closes: https://bugs.gentoo.org/743202
11 Package-Manager: Portage-3.0.4, Repoman-3.0.1
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 sys-auth/pambase/pambase-20200917.ebuild | 6 +++---
15 1 file changed, 3 insertions(+), 3 deletions(-)
16
17 diff --git a/sys-auth/pambase/pambase-20200917.ebuild b/sys-auth/pambase/pambase-20200917.ebuild
18 index 65f65bd0776..e27b18aff52 100644
19 --- a/sys-auth/pambase/pambase-20200917.ebuild
20 +++ b/sys-auth/pambase/pambase-20200917.ebuild
21 @@ -77,7 +77,7 @@ src_configure() {
22 src_test() { :; }
23
24 src_install() {
25 - local DOC_CONTENTS
26 + DOC_CONTENTS=
27
28 if use passwdqc; then
29 DOC_CONTENTS="To amend the existing password policy please see the man 5 passwdqc.conf
30 @@ -89,11 +89,11 @@ src_install() {
31 page and then edit the /etc/security/pwquality.conf file"
32 fi
33
34 - readme.gentoo_create_doc
35 + ! [[ -z "${DOC_CONTENTS}" ]] && readme.gentoo_create_doc
36
37 dopamd -r stack/.
38 }
39
40 pkg_postinst() {
41 - readme.gentoo_print_elog
42 + ! [[ -z "${DOC_CONTENTS}" ]] && readme.gentoo_print_elog
43 }