From 2e0521af672abb2710f651a9dcb9d1c75e017cea Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 8 May 2022 14:39:51 -0400 Subject: better error message for wrong-sized icons --- sbopkglint.d/50-icons.t.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbopkglint.d') diff --git a/sbopkglint.d/50-icons.t.sh b/sbopkglint.d/50-icons.t.sh index e3297f4..1398cff 100644 --- a/sbopkglint.d/50-icons.t.sh +++ b/sbopkglint.d/50-icons.t.sh @@ -64,7 +64,7 @@ check_image() { if [ -n "$size" ]; then actualsize="$( identify "$f" | sed -n 's,.* \([0-9][0-9]*x[0-9][0-9]*\) .*,\1,p' )" if [ "$size" != "$actualsize" ]; then - warn "incorrectly sized (or named) icon $f (should be $actualsize)" + warn "$f: icon is $actualsize, but is in a dir with $size in the name. resize it, or rename the dir." fi fi } -- cgit v1.2.3