mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-28 15:37:39 +01:00
Update 51-install_options
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
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 add --no-cache tesseract-ocr \
|
apk add --no-cache tesseract-ocr
|
||||||
elif $(bashio::config 'OCR') = false; then
|
elif $(bashio::config 'OCR') = false; then
|
||||||
bashio::log.info 'Removing OCR' && \
|
bashio::log.info 'Removing OCR' && \
|
||||||
apk del tesseract-ocr.*
|
apk del tesseract-ocr.*
|
||||||
|
|||||||
Reference in New Issue
Block a user