Update 02-script-setup.bash

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

@ -29,6 +29,8 @@ if [ ! -d "/downloads/complete" ]; then
chmod 0777 "/downloads/incomplete" chmod 0777 "/downloads/incomplete"
fi fi
if [ -f "/config/sabnzbd.ini" ]; then
if cat "/config/sabnzbd.ini" | grep "/config/scripts" | read; then if cat "/config/sabnzbd.ini" | grep "/config/scripts" | read; then
sleep 0.1 sleep 0.1
else else
@ -89,4 +91,6 @@ else
echo "dir = lidarr" >> "/config/sabnzbd.ini" echo "dir = lidarr" >> "/config/sabnzbd.ini"
fi fi
fi
exit 0 exit 0

Loading…
Cancel
Save