aboutsummaryrefslogtreecommitdiff
path: root/sbopkglint.d
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-02-04 02:49:01 -0500
committerB. Watson <urchlay@slackware.uk>2023-02-04 02:49:01 -0500
commitd1a27b05874201896648767576006e0eb2086f42 (patch)
tree283320520cdc83fcbffb228a03f8cc9fce3ccf7b /sbopkglint.d
parent0c48381bdc0bfd199166b721493ae8eb43556335 (diff)
downloadsbo-maintainer-tools-d1a27b05874201896648767576006e0eb2086f42.tar.gz
sbopkglint: detect variant gnu INSTALL
Diffstat (limited to 'sbopkglint.d')
-rw-r--r--sbopkglint.d/10-docs.t.sh4
1 files changed, 3 insertions, 1 deletions
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"