mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Update 51-install_options
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user