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