Update 91-OCR.sh

This commit is contained in:
Alexandre
2022-03-22 17:46:09 +01:00
committed by GitHub
parent c62deb258f
commit 7bce92bd1b

View File

@@ -11,6 +11,8 @@ if [ ! -d "$CONFIGLOCATION" ]; then
CONFIGLOCATION="$(dirname "$CONFIGLOCATION")" CONFIGLOCATION="$(dirname "$CONFIGLOCATION")"
fi fi
exit 0
languageCount=$(echo "$OCRLANG" | tr -cd ',' | wc -c) languageCount=$(echo "$OCRLANG" | tr -cd ',' | wc -c)
languageCount=$((languageCount+1)) languageCount=$((languageCount+1))
bashio::log.info "Configuring ${languageCount} languages" bashio::log.info "Configuring ${languageCount} languages"