aboutsummaryrefslogtreecommitdiff
path: root/sbopkglint.d/50-icons.t.sh
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-08-24 02:16:42 -0400
committerB. Watson <urchlay@slackware.uk>2023-08-24 02:16:42 -0400
commitc2bdc750a21fb9708f9b7fceb700f300455e7a59 (patch)
tree7200d6b0e21dc20c2eb26758764cd7efe960a733 /sbopkglint.d/50-icons.t.sh
parentef85e9d48fe1285bf6415f56ae023deac3f0d3ce (diff)
downloadsbo-maintainer-tools-c2bdc750a21fb9708f9b7fceb700f300455e7a59.tar.gz
sbopkglint: add -S option to file when using -z. will be needed for 15.1, does no harm on 15.0.
Diffstat (limited to 'sbopkglint.d/50-icons.t.sh')
-rw-r--r--sbopkglint.d/50-icons.t.sh2
1 files changed, 1 insertions, 1 deletions
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 ;;