From c42a8e03cb17de2175c9057961c631e1b7e8d3ca Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Tue, 21 Jun 2022 19:24:34 +0000 Subject: [PATCH] 1.0.0048 - bug fix...? --- root/scripts/download.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/root/scripts/download.sh b/root/scripts/download.sh index 60ba0f1..dc29326 100644 --- a/root/scripts/download.sh +++ b/root/scripts/download.sh @@ -1,10 +1,10 @@ #!/usr/bin/env bash -scriptVersion="1.0.0047" +scriptVersion="1.0.0048" lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" if [ "$lidarrUrlBase" = "null" ]; then lidarrUrlBase="" else - lidarrUrlBase="/${lidarrUrlBase}" + lidarrUrlBase="/$(echo "$lidarrUrlBase" | sed "s/\///g")" fi lidarrApiKey="$(cat /config/config.xml | xq | jq -r .Config.ApiKey)" lidarrUrl="http://127.0.0.1:8686${lidarrUrlBase}"