mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-15 21:31:50 +02:00
Update 51-ocr
This commit is contained in:
@@ -5,7 +5,8 @@ if bashio::config.has_value 'OCR'; then
|
|||||||
if $(bashio::config 'OCR') = true; then
|
if $(bashio::config 'OCR') = true; then
|
||||||
bashio::log.info 'Installing OCR'
|
bashio::log.info 'Installing OCR'
|
||||||
apk update
|
apk update
|
||||||
apk add --no-cache tesseract-ocr
|
apk upgrade
|
||||||
|
apk add tesseract-ocr
|
||||||
# Install additional language if requested
|
# Install additional language if requested
|
||||||
if bashio::config.has_value 'OCRLANG'; then
|
if bashio::config.has_value 'OCRLANG'; then
|
||||||
bashio::log.info 'Installing OCR language'
|
bashio::log.info 'Installing OCR language'
|
||||||
|
|||||||
Reference in New Issue
Block a user