aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS6
-rw-r--r--sbopkglint.d/50-icons.t.sh10
2 files changed, 15 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 4774fb1..aca2302 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,12 @@
The real ChangeLog is the git log. This is just a summary of the
user-visible changes between releases.
+New in 0.9.0:
+=============
+
+sbopkglint:
+- Spaces in filenames are now handled correctly.
+
New in 0.8.2:
=============
diff --git a/sbopkglint.d/50-icons.t.sh b/sbopkglint.d/50-icons.t.sh
index 1f1f032..8b3303a 100644
--- a/sbopkglint.d/50-icons.t.sh
+++ b/sbopkglint.d/50-icons.t.sh
@@ -75,9 +75,17 @@ for icondir in usr/share/pixmaps usr/share/icons/hicolor; do
if [ -d "$icondir" ]; then
find -L "$icondir" -type f | while read i; do
check_image "$i"
+ [ "$( stat -Lc '%a %U %G' "$i" )" = "644 root root" ] || \
+ ls -ld "$i" >> .badperms.$$
done
fi
done
[ -s .nonimages.$$ ] && warn "non-image files in icon dirs:" && cat .nonimages.$$
-rm -f .nonimages.$$
+
+if [ -s .badperms.$$ ]; then
+ warn "bad permissions/owner on icon(s) (should be 0644 root:root):"
+ cat .badperms.$$
+fi
+
+rm -f .nonimages.$$ .badperms.$$