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..."