From d1a27b05874201896648767576006e0eb2086f42 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 4 Feb 2023 02:49:01 -0500 Subject: sbopkglint: detect variant gnu INSTALL --- sbopkglint.d/10-docs.t.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sbopkglint.d') diff --git a/sbopkglint.d/10-docs.t.sh b/sbopkglint.d/10-docs.t.sh index c6710b7..9fbcbd7 100644 --- a/sbopkglint.d/10-docs.t.sh +++ b/sbopkglint.d/10-docs.t.sh @@ -47,7 +47,9 @@ if [ -d "$DOCDIR" ]; then if [ -z "$INSTALL_DOCS_OK" -a -n "$bogus" ]; then for i in $bogus; do - if grep -q 'generic installation instructions' $i; then + if grep -q 'generic installation instructions' $i || \ + grep -q 'instructions are generic' $i + then warn "generic install instructions found, useless, please remove: $i" else note "install instructions found, is this relevant for binary package users?: $i" -- cgit v1.2.3