Update 51-install_options

This commit is contained in:
Alexandre
2021-01-18 15:06:39 +01:00
committed by GitHub
parent aea7bac941
commit ccc5fe1923

View File

@@ -3,7 +3,7 @@
declare CONFIG
declare OCR_LANG
CONFIG=$(</share/nextcloud_ocr/settings.json)
CONFIG=$(</data/nextcloud_ocr/settings.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