summaryrefslogblamecommitdiff
path: root/imagescheck/icccheckfile.sh
blob: d2e46c96f4b3b71fc8c08cce359954c9afb74c60 (plain) (tree)
1
2
3
4
5
6
7
8
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