diff --git a/root/scripts/download.sh b/root/scripts/download.sh index cc04753..b9c857f 100644 --- a/root/scripts/download.sh +++ b/root/scripts/download.sh @@ -3,7 +3,7 @@ lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" if [ "$lidarrUrlBase" = "null" ]; then lidarrUrlBase="" else - lidarrUrlBase="/$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" + lidarrUrlBase="/${lidarrUrlBase}" fi lidarrApiKey="$(cat /config/config.xml | xq | jq -r .Config.ApiKey)" lidarrUrl="http://127.0.0.1:8686${lidarrUrlBase}"