From ab0708a1a1d2daaf9d7b099d522b83b0aa51cbde Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Thu, 5 Mar 2020 07:13:57 -0500 Subject: [PATCH] Update 02-script-setup.bash --- root/etc/cont-init.d/02-script-setup.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/root/etc/cont-init.d/02-script-setup.bash b/root/etc/cont-init.d/02-script-setup.bash index 8f4a50a..7df88a2 100644 --- a/root/etc/cont-init.d/02-script-setup.bash +++ b/root/etc/cont-init.d/02-script-setup.bash @@ -47,7 +47,7 @@ else sed -i "s/Downloads\/complete/\/downloads\/complete/g" "/config/sabnzbd.ini" fi -if cat "/config/sabnzbd.ini" | grep "[[radarr]]" | read; then +if cat "/config/sabnzbd.ini" | grep "\[\[radarr\]\]" | read; then sleep 0.1 else echo "[[radarr]]" >> "/config/sabnzbd.ini" @@ -60,7 +60,7 @@ else echo "dir = radarr" >> "/config/sabnzbd.ini" fi -if cat "/config/sabnzbd.ini" | grep "[[sonarr]]" | read; then +if cat "/config/sabnzbd.ini" | grep "\[\[sonarr\]\]" | read; then sleep 0.1 else echo "[[sonarr]]" >> "/config/sabnzbd.ini" @@ -73,7 +73,7 @@ else echo "dir = sonarr" >> "/config/sabnzbd.ini" fi -if cat "/config/sabnzbd.ini" | grep "[[lidarr]]" | read; then +if cat "/config/sabnzbd.ini" | grep "\[\[lidarr\]\]" | read; then sleep 0.1 else echo "[[lidarr]]" >> "/config/sabnzbd.ini"