aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-03-04 15:23:01 -0500
committerB. Watson <urchlay@slackware.uk>2023-03-04 15:23:01 -0500
commit4569ff0cf669df3d2d6151deaa0721cb35677441 (patch)
tree862cedcaa816732335c13b3248ef2f8c36affb82
parentd8db6d94b71ebd63491c7c3c9e11ade54160218e (diff)
downloadsbo-maintainer-tools-4569ff0cf669df3d2d6151deaa0721cb35677441.tar.gz
sbopkglint: detect bogus man paths.
-rw-r--r--sbopkglint.d/05-basic-sanity.t.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbopkglint.d/05-basic-sanity.t.sh b/sbopkglint.d/05-basic-sanity.t.sh
index 7e8349b..984b285 100644
--- a/sbopkglint.d/05-basic-sanity.t.sh
+++ b/sbopkglint.d/05-basic-sanity.t.sh
@@ -20,7 +20,7 @@ requireddirs="usr/doc/$PRGNAM-$VERSION"
# these directories *must not* exist. no need to list top-level dirs here,
# the topleveldirs check already catches those.
-baddirs="usr/local usr/share/doc usr/share/man usr/etc usr/share/info usr/X11 usr/X11R6"
+baddirs="usr/local usr/share/doc usr/share/man usr/etc usr/share/info usr/X11 usr/X11R6 usr/man1 usr/man2 usr/man3 usr/man4 usr/man5 usr/man6 usr/man7 usr/man8 usr/man9 usr/manl usr/mann"
# these directories may only contain files with +x permissions. in
# other words, no non-executable files may live here. note that
@@ -31,7 +31,7 @@ bindirs="bin usr/bin sbin usr/sbin usr/games"
# and must be mode 0755, root:root. I thought usr/share/pixmaps
# belonged here, but quite a few packages create subdirs there for
# images required at runtime that aren't the app icon.
-fileonlydirs="$bindirs"
+fileonlydirs="$bindirs usr/man/man1 usr/man/man2 usr/man/man3 usr/man/man4 usr/man/man5 usr/man/man6 usr/man/man7 usr/man/man8 usr/man/man9 usr/man/manl usr/man/mann"
# these directories may exist, but must contain only subdirectories
# (no files, symlinks, devices, etc). "." (the top-level package dir)