summaryrefslogblamecommitdiff
path: root/imagescheck/icccheckfile.sh
blob: 5b454664c7fc529e9eeee7979dd214eff44272c9 (plain) (tree)
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##../../clientdata/}
    echo "ICC or iCCP profile found for image $name"
fi