From d08d495d7757e308992c829ae77c32abd9158dc1 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Wed, 26 Jun 2024 10:48:34 +0000 Subject: [PATCH] Update setup.bash --- radarr/setup.bash | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/radarr/setup.bash b/radarr/setup.bash index e5110e1..90b902d 100644 --- a/radarr/setup.bash +++ b/radarr/setup.bash @@ -16,10 +16,13 @@ apk add -U --update --no-cache \ ffmpeg && \ echo "************ install python packages ************" && \ pip install --upgrade --no-cache-dir -U --break-system-packages \ - excludarr \ - yt-dlp \ - yq && \ -echo "************ setup SMA ************" && \ + excludarr \ + yt-dlp \ + yq && \ +echo "************ setup SMA ************" +if [ -d "${SMA_PATH}" ]; then + rm -rf "${SMA_PATH}" +fi echo "************ setup directory ************" && \ mkdir -p ${SMA_PATH} && \ echo "************ download repo ************" && \