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