]> git.mxchange.org Git - flightgear.git/commitdiff
add check for thumbnail size
authormfranz <mfranz>
Tue, 5 Jun 2007 16:04:24 +0000 (16:04 +0000)
committermfranz <mfranz>
Tue, 5 Jun 2007 16:04:24 +0000 (16:04 +0000)
scripts/tools/fg-check

index 38fb89925ef9c6cbd6a3d5c350f2827e1daa49dc..b094bd6c53ef2dcdaa9661552d8c70eeba8a421b 100755 (executable)
@@ -76,6 +76,15 @@ if [ -x "$AC3D_SCAN" ]; then
 fi
 
 
+LOG "checking for thumbnail file size (expected JPEG 171x128)"
+find . -name thumbnail.jpg|while read i; do
+       id=$(identify "$i")
+       if ! echo $id|grep "JPEG 171x128" >/dev/null; then
+               RESULT "$i ... $id"
+       fi
+done
+
+
 LOG "checking for XML syntax ..."
 find . -name \*.xml|while read i; do
        xmllint $i >/dev/null || RESULT "... in file \e[36m$i\e[m"