Skip to content

Commit 2474af8

Browse files
Allow customizations to beets configs
#106 - Resolves
1 parent 6277da3 commit 2474af8

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

lidarr/setup.bash

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,17 @@ echo "Download SMA config..."
9191
curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/lidarr/sma.ini -o /config/extended/sma.ini
9292
echo "Done"
9393

94-
echo "Download Beets config..."
95-
curl "https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/lidarr/beets-config.yaml" -o /config/extended/beets-config.yaml
96-
echo "Done"
94+
if [ ! -f /config/extended/beets-config.yaml ]; then
95+
echo "Download Beets config..."
96+
curl "https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/lidarr/beets-config.yaml" -o /config/extended/beets-config.yaml
97+
echo "Done"
98+
fi
9799

98-
echo "Download Beets lidarr config..."
99-
curl "https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/lidarr/beets-config-lidarr.yaml" -o /config/extended/beets-config-lidarr.yaml
100-
echo "Done"
100+
if [ ! -f /config/extended/beets-config-lidarr.yaml ]; then
101+
echo "Download Beets lidarr config..."
102+
curl "https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/lidarr/beets-config-lidarr.yaml" -o /config/extended/beets-config-lidarr.yaml
103+
echo "Done"
104+
fi
101105

102106
echo "Download Deemix config..."
103107
curl "https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/lidarr/deemix_config.json" -o /config/extended/deemix_config.json

0 commit comments

Comments
 (0)