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