Browse Source

Make shellcheck happy

Marek Marczykowski-Górecki 5 years ago
parent
commit
b47a61adcf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      qubes-rpc/qubes.GetImageRGBA

+ 1 - 1
qubes-rpc/qubes.GetImageRGBA

@@ -30,7 +30,7 @@ if [ "$m" = SVG ]; then
     rsvg-convert -o "$tmpfile2" "$filename"
     # downscale the image if necessary
     if [ -n "$forcemaxsize" ] && \
-            ( [ "$w" -gt "$forcemaxsize" ] || [ "$h" -gt "$forcemaxsize" ] ); then
+            { [ "$w" -gt "$forcemaxsize" ] || [ "$h" -gt "$forcemaxsize" ]; }; then
         convert "$tmpfile2" -scale "${forcemaxsize}x${forcemaxsize}" "$tmpfile2"
         # read the size again, because icon may not be a square
         s="$(identify -format '%w %h' "$tmpfile2")"