From 2474af817e83932efc0304371211957b8fbfaf7a Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Sun, 5 Nov 2023 08:29:27 -0500 Subject: [PATCH] Allow customizations to beets configs #106 - Resolves --- lidarr/setup.bash | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/lidarr/setup.bash b/lidarr/setup.bash index 2b1ae72..38f058a 100644 --- a/lidarr/setup.bash +++ b/lidarr/setup.bash @@ -91,13 +91,17 @@ echo "Download SMA config..." curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/lidarr/sma.ini -o /config/extended/sma.ini echo "Done" -echo "Download Beets config..." -curl "https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/lidarr/beets-config.yaml" -o /config/extended/beets-config.yaml -echo "Done" +if [ ! -f /config/extended/beets-config.yaml ]; then + echo "Download Beets config..." + curl "https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/lidarr/beets-config.yaml" -o /config/extended/beets-config.yaml + echo "Done" +fi -echo "Download Beets lidarr config..." -curl "https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/lidarr/beets-config-lidarr.yaml" -o /config/extended/beets-config-lidarr.yaml -echo "Done" +if [ ! -f /config/extended/beets-config-lidarr.yaml ]; then + echo "Download Beets lidarr config..." + curl "https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/lidarr/beets-config-lidarr.yaml" -o /config/extended/beets-config-lidarr.yaml + echo "Done" +fi echo "Download Deemix config..." curl "https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/lidarr/deemix_config.json" -o /config/extended/deemix_config.json