This commit is contained in:
Alexandre
2021-01-18 15:19:54 +01:00

View File

@@ -3,7 +3,7 @@
declare CONFIG
declare OCR_LANG
CONFIG=$(</share/nextcloud_ocr/settings.json)
CONFIG=$(</data/options.json)
OCR_LANG=$(bashio::config 'OCR-LANG')
# Install OCR if requested
@@ -18,4 +18,4 @@ bashio::log.info 'Removing OCR' && \
apk del \
tesseract-ocr \
tesseract-ocr-data-${OCR_LANG}
fi
fi