From 2c5d5dd2d2909ea636adfa0d1afebc5a653ab0be Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 25 Dec 2021 11:37:13 +0100 Subject: [PATCH] Update 93-multiocr.sh --- paperless_ng/rootfs/etc/cont-init.d/93-multiocr.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/paperless_ng/rootfs/etc/cont-init.d/93-multiocr.sh b/paperless_ng/rootfs/etc/cont-init.d/93-multiocr.sh index 4b40c2669..3f1210118 100644 --- a/paperless_ng/rootfs/etc/cont-init.d/93-multiocr.sh +++ b/paperless_ng/rootfs/etc/cont-init.d/93-multiocr.sh @@ -8,13 +8,6 @@ if [ -n "$OCRLANG" ]; then if apt-cache show tesseract-ocr-"${i}" > /dev/null 2>&1; then echo "installing tesseract-ocr-${i}" apt-get install -y tesseract-ocr-"${i}" - - # Downloading trainer data - # Downloading trainer data - cd "$(find / -name "tessdata")" - # cd /usr/share/tessdata - rm -r $LANG.traineddata &>/dev/null || true - wget https://github.com/tesseract-ocr/tessdata/raw/main/$LANG.traineddata &>/dev/null else echo "package tesseract-ocr-${i} not found in the repository, skipping" fi