mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-01 05:14:04 +02:00
Update 91-OCR
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
# Allow OCR setting
|
# Allow OCR setting
|
||||||
sed -i 's/bash/bashio/g' /etc/cont-init.d/98-multilangocr
|
OCRLANG="$(bashio::config "ocrlang")"
|
||||||
sed -i "2i\OCRLANG=$(bashio::config "ocrlang")" /etc/cont-init.d/98-multilangocr
|
sed -i "2i\OCRLANG=$OCRLANG" /etc/cont-init.d/98-multilangocr
|
||||||
|
|||||||
Reference in New Issue
Block a user