|
|
@ -47,7 +47,7 @@ else
|
|
|
|
sed -i "s/Downloads\/complete/\/downloads\/complete/g" "/config/sabnzbd.ini"
|
|
|
|
sed -i "s/Downloads\/complete/\/downloads\/complete/g" "/config/sabnzbd.ini"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if cat "/config/sabnzbd.ini" | grep "[[radarr]]" | read; then
|
|
|
|
if cat "/config/sabnzbd.ini" | grep "\[\[radarr\]\]" | read; then
|
|
|
|
sleep 0.1
|
|
|
|
sleep 0.1
|
|
|
|
else
|
|
|
|
else
|
|
|
|
echo "[[radarr]]" >> "/config/sabnzbd.ini"
|
|
|
|
echo "[[radarr]]" >> "/config/sabnzbd.ini"
|
|
|
@ -60,7 +60,7 @@ else
|
|
|
|
echo "dir = radarr" >> "/config/sabnzbd.ini"
|
|
|
|
echo "dir = radarr" >> "/config/sabnzbd.ini"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if cat "/config/sabnzbd.ini" | grep "[[sonarr]]" | read; then
|
|
|
|
if cat "/config/sabnzbd.ini" | grep "\[\[sonarr\]\]" | read; then
|
|
|
|
sleep 0.1
|
|
|
|
sleep 0.1
|
|
|
|
else
|
|
|
|
else
|
|
|
|
echo "[[sonarr]]" >> "/config/sabnzbd.ini"
|
|
|
|
echo "[[sonarr]]" >> "/config/sabnzbd.ini"
|
|
|
@ -73,7 +73,7 @@ else
|
|
|
|
echo "dir = sonarr" >> "/config/sabnzbd.ini"
|
|
|
|
echo "dir = sonarr" >> "/config/sabnzbd.ini"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if cat "/config/sabnzbd.ini" | grep "[[lidarr]]" | read; then
|
|
|
|
if cat "/config/sabnzbd.ini" | grep "\[\[lidarr\]\]" | read; then
|
|
|
|
sleep 0.1
|
|
|
|
sleep 0.1
|
|
|
|
else
|
|
|
|
else
|
|
|
|
echo "[[lidarr]]" >> "/config/sabnzbd.ini"
|
|
|
|
echo "[[lidarr]]" >> "/config/sabnzbd.ini"
|
|
|
|