Correction of if then

This commit is contained in:
Alexandre
2020-12-13 08:29:38 +01:00
committed by GitHub
parent c8e6476867
commit 9254e99b4e

View File

@@ -21,8 +21,8 @@ incomplete_dir=$(bashio::config 'incomplete_dir')
# Defaults
if ! bashio::config.has_value 'incomplete_dir'; then
incomplete_bool="true" ; else
incomplete_bool="false"
incomplete_bool=true ; else
incomplete_bool=false
fi
CONFIG=$(bashio::jq "${CONFIG}" ".\"incomplete-dir\"=\"${incomplete_dir}\"")
CONFIG=$(bashio::jq "${CONFIG}" ".\"download-dir\"=\"${download_dir}\"")