mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Correct previous configs
This commit is contained in:
@@ -11,6 +11,9 @@ if [ ! -d "$CONFIGLOCATION" ]; then
|
||||
CONFIGLOCATION="$(dirname "$CONFIGLOCATION")"
|
||||
fi
|
||||
|
||||
#Correct previous bug
|
||||
sed -i "s|OCRLANG|OCR_LANGUAGES|g" "$CONFIGLOCATION"/papermerge.conf.py
|
||||
|
||||
languageCount=$(echo "$OCRLANG" | tr -cd ',' | wc -c)
|
||||
languageCount=$((languageCount+1))
|
||||
bashio::log.info "Configuring ${languageCount} languages"
|
||||
|
||||
Reference in New Issue
Block a user