mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-28 02:06:04 +02:00
Update and rename 00-OCR to 91-OCR
This commit is contained in:
@@ -1,4 +0,0 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
|
||||||
|
|
||||||
export OCRLANG=$(bashio::config 'ocrlang')
|
|
||||||
bashio::log.info "Adding OCR language : $OCRLANG"
|
|
||||||
5
papermerge/rootfs/etc/cont-init.d/91-OCR
Normal file
5
papermerge/rootfs/etc/cont-init.d/91-OCR
Normal file
@@ -0,0 +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
|
||||||
Reference in New Issue
Block a user