mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
SC2086
This commit is contained in:
@@ -8,7 +8,7 @@ OCRLANG="$(bashio::config "ocrlang")"
|
||||
CONFIGLOCATION="$(bashio::config "CONFIG_LOCATION")"
|
||||
#If it's a file, get the folder
|
||||
if [ ! -d "$CONFIGLOCATION" ]; then
|
||||
CONFIGLOCATION="$(dirname $CONFIGLOCATION)"
|
||||
CONFIGLOCATION="$(dirname "$CONFIGLOCATION")"
|
||||
fi
|
||||
|
||||
languageCount=$(echo "$OCRLANG" | tr -cd ',' | wc -c)
|
||||
|
||||
Reference in New Issue
Block a user