From 6608999c0bba22b5e40724366c47085e51446816 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Tue, 5 Sep 2023 10:49:18 +0000 Subject: [PATCH] Allow customizations of recyclarr and sma configs Support will not be provided for changes to these configs... --- radarr/setup.bash | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/radarr/setup.bash b/radarr/setup.bash index dfb6842..90a59f2 100644 --- a/radarr/setup.bash +++ b/radarr/setup.bash @@ -82,13 +82,17 @@ echo "Download Extras script..." curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/Extras.bash -o /config/extended/Extras.bash echo "Done" -echo "Download SMA config..." -curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/sma.ini -o /config/extended/sma.ini -echo "Done" +if [ ! -f /config/extended/sma.ini ]; then + echo "Download SMA config..." + curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/sma.ini -o /config/extended/sma.ini + echo "Done" +fi -echo "Download Recyclarr config..." -curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/recyclarr.yaml -o /config/extended/recyclarr.yaml -echo "Done" +if [ ! -f /config/extended/recyclarr.yaml ]; then + echo "Download Recyclarr config..." + curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/recyclarr.yaml -o /config/extended/recyclarr.yaml + echo "Done" +fi if [ ! -f /config/extended.conf ]; then echo "Download Extended config..."