summaryrefslogblamecommitdiff
path: root/imagescheck/icccheckfile.sh
blob: 8f998c0d801285a3f96f43ed669742db47229578 (plain) (tree)
1
2
3
4
5
6
7
8
9

           
                                                         



                                           
                                                    
  
#!/bin/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