mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-08 12:54:54 +01:00
Remove Readarr CONFIG_LOCATION option
This commit is contained in:
@@ -11,13 +11,6 @@ CONFIG_LOCATION=/config/config.xml
|
||||
# Wait for transmission to become available
|
||||
bashio::net.wait_for "$port" localhost 900
|
||||
|
||||
if bashio::config.has_value 'CONFIG_LOCATION'; then
|
||||
CONFIG_LOCATION="$(bashio::config 'CONFIG_LOCATION')"
|
||||
# Modify if it is a base directory
|
||||
if [[ "$CONFIG_LOCATION" == *.* ]]; then CONFIG_LOCATION="$(dirname $CONFIG_LOCATION)"; fi
|
||||
CONFIG_LOCATION="$CONFIG_LOCATION"/config.xml
|
||||
fi
|
||||
|
||||
# Delete external
|
||||
if grep -q "external" "$CONFIG_LOCATION"; then
|
||||
bashio::log.warning "external is set, restarting"
|
||||
|
||||
Reference in New Issue
Block a user