#!/bin/sh CONVERT_CHECK=`convert -version` if [ $? -ne 0 ] then echo "" echo "INSTALL imagemagick" echo "" echo " sudo apt-get install imagemagick" exit 1 fi find oven_control/images -name *.png -exec convert {} -strip {} \;