aboutsummaryrefslogtreecommitdiff
path: root/sbopkglint.d
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2022-05-08 14:39:51 -0400
committerB. Watson <urchlay@slackware.uk>2022-05-08 14:39:51 -0400
commit2e0521af672abb2710f651a9dcb9d1c75e017cea (patch)
tree6122190ebffa3ddd5b266164c24b08db967ae427 /sbopkglint.d
parent1510dec094394d32dce826af63253a10f828b976 (diff)
downloadsbo-maintainer-tools-2e0521af672abb2710f651a9dcb9d1c75e017cea.tar.gz
better error message for wrong-sized icons
Diffstat (limited to 'sbopkglint.d')
-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 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
}