diff --git a/paperless_ng/rootfs/etc/cont-init.d/93-multiocr.sh b/paperless_ng/rootfs/etc/cont-init.d/93-multiocr.sh index f14556eb2..5bd9b4326 100644 --- a/paperless_ng/rootfs/etc/cont-init.d/93-multiocr.sh +++ b/paperless_ng/rootfs/etc/cont-init.d/93-multiocr.sh @@ -1,4 +1,5 @@ -!/usr/bin/with-contenv bash +#!/usr/bin/with-contenv bashio + OCRLANG=$(bashio::config 'OCRLANG') if [ -n "$OCRLANG" ]; then apt-get update &>/dev/null