mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-08-02 11:20:32 +02:00
Correction of if then
This commit is contained in:
@@ -21,8 +21,8 @@ incomplete_dir=$(bashio::config 'incomplete_dir')
|
|||||||
|
|
||||||
# Defaults
|
# Defaults
|
||||||
if ! bashio::config.has_value 'incomplete_dir'; then
|
if ! bashio::config.has_value 'incomplete_dir'; then
|
||||||
incomplete_bool="true" ; else
|
incomplete_bool=true ; else
|
||||||
incomplete_bool="false"
|
incomplete_bool=false
|
||||||
fi
|
fi
|
||||||
CONFIG=$(bashio::jq "${CONFIG}" ".\"incomplete-dir\"=\"${incomplete_dir}\"")
|
CONFIG=$(bashio::jq "${CONFIG}" ".\"incomplete-dir\"=\"${incomplete_dir}\"")
|
||||||
CONFIG=$(bashio::jq "${CONFIG}" ".\"download-dir\"=\"${download_dir}\"")
|
CONFIG=$(bashio::jq "${CONFIG}" ".\"download-dir\"=\"${download_dir}\"")
|
||||||
|
|||||||
Reference in New Issue
Block a user