From 03f43d9695a6a3558e6ed96fb1148ed29fab2dce Mon Sep 17 00:00:00 2001 From: Michelle Weidling <weidling@sub.uni-goettingen.de> Date: Thu, 20 Apr 2023 08:43:12 +0200 Subject: [PATCH] fix: file lookup instead of dir lookup --- workflows/execute_workflows.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflows/execute_workflows.sh b/workflows/execute_workflows.sh index db8957d..864faf5 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 '*' -- GitLab