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"