diff --git a/papermerge/rootfs/etc/cont-init.d/91-OCR.sh b/papermerge/rootfs/etc/cont-init.d/91-OCR.sh index 6f51d8047..1dfe95d51 100644 --- a/papermerge/rootfs/etc/cont-init.d/91-OCR.sh +++ b/papermerge/rootfs/etc/cont-init.d/91-OCR.sh @@ -11,6 +11,8 @@ if [ ! -d "$CONFIGLOCATION" ]; then CONFIGLOCATION="$(dirname "$CONFIGLOCATION")" fi +exit 0 + languageCount=$(echo "$OCRLANG" | tr -cd ',' | wc -c) languageCount=$((languageCount+1)) bashio::log.info "Configuring ${languageCount} languages"