summaryrefslogtreecommitdiff
path: root/imagescheck/icccheckfile.sh
blob: dbdfb238642c490344048d0cbcdb191d6a9524fe (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash

identify -verbose $1 | egrep -i "profile|iCCP" >/dev/null

if [ "$?" == 0 ]; then
    export name="$1"
    export name=${name##../../client-data/}
    echo "ICC or iCCP profile found for image $name"
fi