summaryrefslogtreecommitdiff
path: root/CI/imagescheck/icccheckfile.sh
blob: 0ae757da6f3ffa6bbd8b67712f911ff562498852 (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