From 8dfeeaccc2e5774f1c0650efbcf750bcc9eb1c8a Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 28 Apr 2022 15:45:29 -0400 Subject: sbolint: fix tarball handling, relax SlackBuild perms check. sbopkglint: recommend noarch. --- sbopkglint.d/20-arch.t.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sbopkglint.d/20-arch.t.sh') 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/ 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 -- cgit v1.2.3