From 4569ff0cf669df3d2d6151deaa0721cb35677441 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 4 Mar 2023 15:23:01 -0500 Subject: sbopkglint: detect bogus man paths. --- sbopkglint.d/05-basic-sanity.t.sh | 4 ++-- 1 file 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) -- cgit v1.2.3