diff --git a/quack.sh b/quack.sh index dd39b930c64cd1c1540b68537dd78d328b0fe157..ed4a5d3fdad7b8842c864fb843a4a9f975a4fe61 100755 --- a/quack.sh +++ b/quack.sh @@ -266,7 +266,7 @@ function makeImages() { if [ "true" == "$FORCE_TILES" -a -f "$TILE_FOLDER" ]; then rm -rf "$TILE_FOLDER" fi - if [ ! -d "$TILE_FOLDER" ]; then + if [ "true" == "$TILE" -a ! -d "$TILE_FOLDER" ]; then echo " - ${TILE_FOLDER##*/} (deepzoom)" # TODO: Specify JPEG quality deepzoom "$CONV" -format $IMAGE_DISP_EXT -path "${DEST_FOLDER}/"