summaryrefslogtreecommitdiff
path: root/imagescheck/icccheckfile.sh
diff options
context:
space:
mode:
Diffstat (limited to 'imagescheck/icccheckfile.sh')
-rwxr-xr-ximagescheck/icccheckfile.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/imagescheck/icccheckfile.sh b/imagescheck/icccheckfile.sh
new file mode 100755
index 0000000..d2e46c9
--- /dev/null
+++ b/imagescheck/icccheckfile.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+identify -verbose $1 | grep profile >/dev/null
+
+if [ "$?" == 0 ]; then
+ export name="$1"
+ export name=${name##../../client-data/}
+ echo "ICC profile found for image $name"
+fi