Update 02-script-setup.bash

pull/1/head
RandomNinjaAtk 5 years ago committed by GitHub
parent f33506dedd
commit ab0708a1a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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"

Loading…
Cancel
Save