Update 91-OCR

This commit is contained in:
Alexandre
2021-10-23 23:20:25 +02:00
committed by GitHub
parent 31cc26ae4e
commit 8776924db4

View File

@@ -1,5 +1,5 @@
#!/usr/bin/with-contenv bashio
# Allow OCR setting
sed -i 's/bash/bashio/g' /etc/cont-init.d/98-multilangocr
sed -i "2i\OCRLANG=$(bashio::config "ocrlang")" /etc/cont-init.d/98-multilangocr
OCRLANG="$(bashio::config "ocrlang")"
sed -i "2i\OCRLANG=$OCRLANG" /etc/cont-init.d/98-multilangocr