summaryrefslogtreecommitdiff
path: root/imagescheck
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-11 20:50:28 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-11 20:50:28 +0300
commit6e2bdbb10544669a8a0b312806384d242c54e3ba (patch)
tree89606b80525ee2984c1a15491168823a35ebc4ef /imagescheck
parent27e7e90a5045e8c7e1144d9a0cc3d2de47442116 (diff)
downloadtools-6e2bdbb10544669a8a0b312806384d242c54e3ba.tar.gz
tools-6e2bdbb10544669a8a0b312806384d242c54e3ba.tar.bz2
tools-6e2bdbb10544669a8a0b312806384d242c54e3ba.tar.xz
tools-6e2bdbb10544669a8a0b312806384d242c54e3ba.zip
imagescheck: search also iCCP data inside images.
Diffstat (limited to 'imagescheck')
-rwxr-xr-ximagescheck/icccheckfile.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/imagescheck/icccheckfile.sh b/imagescheck/icccheckfile.sh
index e0a80dd..8f998c0 100755
--- a/imagescheck/icccheckfile.sh
+++ b/imagescheck/icccheckfile.sh
@@ -1,9 +1,9 @@
#!/bin/bash
-identify -verbose $1 | grep -i profile >/dev/null
+identify -verbose $1 | egrep -i "profile|iCCP" >/dev/null
if [ "$?" == 0 ]; then
export name="$1"
export name=${name##../../client-data/}
- echo "ICC profile found for image $name"
+ echo "ICC or iCCP profile found for image $name"
fi