Skip to content
Snippets Groups Projects
Commit 262a6246 authored by Toke Eskildsen's avatar Toke Eskildsen
Browse files

Bugfix: Tiles were generated even if disabled

parent e11de8ac
No related branches found
No related tags found
No related merge requests found
......@@ -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}/"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment