From c2bdc750a21fb9708f9b7fceb700f300455e7a59 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 24 Aug 2023 02:16:42 -0400 Subject: sbopkglint: add -S option to file when using -z. will be needed for 15.1, does no harm on 15.0. --- sbopkglint.d/50-icons.t.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbopkglint.d/50-icons.t.sh') diff --git a/sbopkglint.d/50-icons.t.sh b/sbopkglint.d/50-icons.t.sh index c84e645..2296e9d 100644 --- a/sbopkglint.d/50-icons.t.sh +++ b/sbopkglint.d/50-icons.t.sh @@ -37,7 +37,7 @@ check_image() { [ "$bn" = "theme" -o "$bn" = "icon-theme.cache" -o "$bn" = "index.theme" ] && return - mime="$( file -L -z -b --mime-type "$f" )" + mime="$( file -L -zS -b --mime-type "$f" )" case "$mime" in image/*) ;; # OK *) ( echo -n "[$mime]: " ; ls -bld "$f" ) >> .nonimages.$$; return ;; -- cgit v1.2.3