mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
Update 51-install_options
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
declare CONFIG
|
declare CONFIG
|
||||||
declare OCR_LANG
|
declare OCR_LANG
|
||||||
|
|
||||||
CONFIG=$(</share/nextcloud_ocr/settings.json)
|
CONFIG=$(</data/nextcloud_ocr/settings.json)
|
||||||
OCR_LANG=$(bashio::config 'OCR-LANG')
|
OCR_LANG=$(bashio::config 'OCR-LANG')
|
||||||
|
|
||||||
# Install OCR if requested
|
# Install OCR if requested
|
||||||
@@ -18,4 +18,4 @@ bashio::log.info 'Removing OCR' && \
|
|||||||
apk del \
|
apk del \
|
||||||
tesseract-ocr \
|
tesseract-ocr \
|
||||||
tesseract-ocr-data-${OCR_LANG}
|
tesseract-ocr-data-${OCR_LANG}
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user