From e767682572353d548c5900eee2fbab317d5b2b85 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 22 Sep 2021 20:56:02 +0200 Subject: [PATCH] Update 51-ocr --- nextcloud/root/etc/cont-init.d/51-ocr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nextcloud/root/etc/cont-init.d/51-ocr b/nextcloud/root/etc/cont-init.d/51-ocr index 082727c7c..4d9adb6e3 100644 --- a/nextcloud/root/etc/cont-init.d/51-ocr +++ b/nextcloud/root/etc/cont-init.d/51-ocr @@ -4,7 +4,7 @@ if bashio::config.has_value 'OCR'; then if $(bashio::config 'OCR') = true; then bashio::log.info 'Installing OCR' - apk add --no-cache leptonica-dev tesseract-ocr-dev + #apk add --no-cache leptonica-dev tesseract-ocr-dev # Install additional language if requested if bashio::config.has_value 'OCRLANG'; then bashio::log.info 'Installing OCR language' @@ -12,7 +12,7 @@ if bashio::config.has_value 'OCR'; then fi elif $(bashio::config 'OCR') = false; then bashio::log.info 'Removing OCR' - apk del tesseract-ocr.* + apk del tesseract-ocr.* || true fi fi