aboutsummaryrefslogtreecommitdiff
path: root/sbopkglint.d/20-arch.t.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-04-28 15:45:29 -0400
committerB. Watson <yalhcru@gmail.com>2022-04-28 15:45:29 -0400
commit8dfeeaccc2e5774f1c0650efbcf750bcc9eb1c8a (patch)
tree7314e1bf5aa05a356ded3e19de6e3523c93607b6 /sbopkglint.d/20-arch.t.sh
parentfb71eec28c092e3c0be866fe52cb89d2c06d9ba8 (diff)
downloadsbo-maintainer-tools-8dfeeaccc2e5774f1c0650efbcf750bcc9eb1c8a.tar.gz
sbolint: fix tarball handling, relax SlackBuild perms check. sbopkglint: recommend noarch.
Diffstat (limited to 'sbopkglint.d/20-arch.t.sh')
-rw-r--r--sbopkglint.d/20-arch.t.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/sbopkglint.d/20-arch.t.sh b/sbopkglint.d/20-arch.t.sh
index a6b9265..376074d 100644
--- a/sbopkglint.d/20-arch.t.sh
+++ b/sbopkglint.d/20-arch.t.sh
@@ -39,7 +39,10 @@ if [ -n "$WRONGDIR" ]; then
file="$( echo $line | cut -d: -f1 )"
filetype="$( echo $line | cut -d: -f2 )"
case "$file" in
- lib/firmware/*) continue ;;
+ # 20220414 bkw: only check for libs directly in the dir.
+ # this avoids e.g. lib/udev/<executable> and usr/lib/prgnam/plugins/*.so.
+ # had to relax this check; it was too strict.
+ $WRONGDIR/*/*|usr/$WRONGDIR/*/*) continue ;;
$WRONGDIR/*|usr/$WRONGDIR/*)
INWRONGDIR+="$file " ;;
esac