diff --git a/workflows/execute_workflows.sh b/workflows/execute_workflows.sh index db8957db8dcbc40905f1667b984ee400f8b231b6..864faf57c025bd94b827a654742f7efe54bc6fb9 100755 --- a/workflows/execute_workflows.sh +++ b/workflows/execute_workflows.sh @@ -39,7 +39,7 @@ convert_ocrd_wfs_to_NextFlow() { download_models() { echo "Download the necessary models if not available" - if [[ ! -d /usr/local/share/tessdata ]] + if [[ ! -f /usr/local/share/tessdata/Fraktur_GT4HistOCR.traineddata ]] then #mkdir -p /usr/local/share/ocrd-resources/ ocrd resmgr download ocrd-tesserocr-recognize '*'