correct coding style

This commit is contained in:
Mario Fetka 2013-03-10 11:24:41 +01:00
parent ab21cfc255
commit 33ebcc84bc

View File

@ -193,11 +193,11 @@ convert_image() {
# create the matte # create the matte
if [ `convert | grep Version | awk '{print $3}' | sed "s/-.*//" | sed "s/\.//g"` -le 670 ] ; then if [ `convert | grep Version | awk '{print $3}' | sed "s/-.*//" | sed "s/\.//g"` -le 670 ] ; then
convert $OUTPUT_DIR/removed_black.png -channel matte -separate +matte \ convert $OUTPUT_DIR/removed_black.png -channel matte -separate +matte \
$OUTPUT_DIR/matte.png $OUTPUT_DIR/matte.png
else else
convert $OUTPUT_DIR/removed_black.png -channel matte -negate -separate +matte \ convert $OUTPUT_DIR/removed_black.png -channel matte -negate -separate +matte \
$OUTPUT_DIR/matte.png $OUTPUT_DIR/matte.png
fi fi
# negate the colors # negate the colors