From 5158c10225096d315b2afbe10eae20f519f0a817 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 7 Jan 2022 07:05:56 +0100 Subject: [PATCH] Update 99-ocr.sh --- nextcloud/rootfs/etc/cont-init.d/99-ocr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nextcloud/rootfs/etc/cont-init.d/99-ocr.sh b/nextcloud/rootfs/etc/cont-init.d/99-ocr.sh index d6403eea0..262df3247 100644 --- a/nextcloud/rootfs/etc/cont-init.d/99-ocr.sh +++ b/nextcloud/rootfs/etc/cont-init.d/99-ocr.sh @@ -28,7 +28,7 @@ if bashio::config.has_value 'OCR'; then OCRLANG=$(bashio::config 'OCRLANG') for LANG in $(echo "$OCRLANG" | tr "," " "); do if [ $LANG != "eng" ]; then - apk add --quiet --no-cache tesseract-ocr-data-$LANG || apk add --quiet --no-cache tesseract-ocr-data-$LANG@community && \ + apk add --quiet --no-cache tesseract-ocr-data-$LANG || apk add --quiet --no-cache tesseract-ocr-data-$LANG@community fi bashio::log.info "OCR Language installed : $LANG" || bashio::log.fatal "Couldn't install OCR lang $LANG. Please check its format is conform" # Downloading trainer data