mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-10 16:01:00 +02:00
Update 51-ocr
This commit is contained in:
@@ -4,7 +4,6 @@
|
|||||||
if bashio::config.has_value 'OCR'; then
|
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 del tesseract* || true
|
|
||||||
apk add --no-cache tesseract-ocr@community
|
apk add --no-cache tesseract-ocr@community
|
||||||
# Install additional language if requested
|
# Install additional language if requested
|
||||||
if bashio::config.has_value 'OCRLANG'; then
|
if bashio::config.has_value 'OCRLANG'; then
|
||||||
|
|||||||
Reference in New Issue
Block a user