mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-10 09:35:58 +02:00
test transmission linuxserver
This commit is contained in:
@@ -21,12 +21,12 @@ CONFIG=$(</share/transmission/settings.json)
|
||||
|
||||
download_dir=$(bashio::config 'download_dir')
|
||||
incomplete_dir=$(bashio::config 'incomplete_dir')
|
||||
|
||||
# Defaults
|
||||
if ! bashio::config.has_value 'incomplete_dir'; then
|
||||
if ! bashio::config.has('incomplete_dir'); then
|
||||
incomplete_bool=true ; else
|
||||
incomplete_bool=false
|
||||
fi
|
||||
|
||||
# Defaults
|
||||
CONFIG=$(bashio::jq "${CONFIG}" ".\"incomplete-dir\"=\"${incomplete_dir}\"")
|
||||
CONFIG=$(bashio::jq "${CONFIG}" ".\"download-dir\"=\"${download_dir}\"")
|
||||
CONFIG=$(bashio::jq "${CONFIG}" ".\"incomplete-dir-enabled\"=${incomplete_bool}")
|
||||
|
||||
Reference in New Issue
Block a user