From fab5317eb3391214a40686cbe8fc40c790ef55e0 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Mon, 22 Aug 2022 11:49:11 +0000 Subject: [PATCH] Update recyclarr.sh --- root/scripts/recyclarr.sh | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/root/scripts/recyclarr.sh b/root/scripts/recyclarr.sh index 859f608..91d980a 100644 --- a/root/scripts/recyclarr.sh +++ b/root/scripts/recyclarr.sh @@ -12,25 +12,17 @@ if [ -z "$arrUrl" ] || [ -z "$arrApiKey" ]; then arrUrl="http://127.0.0.1:7878${arrUrlBase}" fi -# recyclarrURL="$(curl -s "https://github.com/recyclarr/recyclarr/releases" | grep "recyclarr-linux-x64.zip" | head -n 1 | grep -io '/dev/null - chmod u+rx /recyclarr/recyclarr -fi - -if [ ! -f /config/extended/configs/recyclarr/recyclarr.yaml ]; then - cp "/recyclarr.yaml" "/config/extended/configs/recyclarr/recyclarr.yaml" - chmod 766 "/config/extended/configs/recyclarr/recyclarr.yaml" - chown abc:abc "/config/extended/configs/recyclarr/recyclarr.yaml" +if [ ! -f /config/extended/configs/recyclarr.yaml ]; then + cp "/recyclarr.yaml" "/config/extended/configs/recyclarr.yaml" + chmod 766 "/config/extended/configs/recyclarr.yaml" + chown abc:abc "/config/extended/configs/recyclarr.yaml" fi # update radarr -/recyclarr/recyclarr radarr -c /config/extended/configs/recyclarr/recyclarr.yaml --app-data /recylarr +/recyclarr/recyclarr radarr -c /config/extended/configs/recyclarr.yaml --app-data /recylarr + exit