Update 33-script-setup.bash

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

@ -90,18 +90,17 @@ if cat "/config/sabnzbd.ini" | grep "\[categories\]" | read; then
echo "priority = -100" >> "/config/sabnzbd.ini" && \ echo "priority = -100" >> "/config/sabnzbd.ini" && \
echo "pp = \"\"" >> "/config/sabnzbd.ini" && \ echo "pp = \"\"" >> "/config/sabnzbd.ini" && \
echo "name = radarr" >> "/config/sabnzbd.ini" && \ echo "name = radarr" >> "/config/sabnzbd.ini" && \
echo "script = video-pp.bash" >> "/config/sabnzbd.ini" && \ echo "script = radarr-pp.bash" >> "/config/sabnzbd.ini" && \
echo "newzbin = \"\"" >> "/config/sabnzbd.ini" && \ echo "newzbin = \"\"" >> "/config/sabnzbd.ini" && \
echo "order = 1" >> "/config/sabnzbd.ini" && \ echo "order = 1" >> "/config/sabnzbd.ini" && \
echo "dir = radarr" >> "/config/sabnzbd.ini" && \ echo "dir = radarr" >> "/config/sabnzbd.ini" && \
# Add sonarr category # Add sonarr category
sed -i '/\[\[tv\]\]/,+7d' "/config/sabnzbd.ini" && \
echo "[[sonarr]]" >> "/config/sabnzbd.ini" && \ echo "[[sonarr]]" >> "/config/sabnzbd.ini" && \
echo "priority = -100" >> "/config/sabnzbd.ini" && \ echo "priority = -100" >> "/config/sabnzbd.ini" && \
echo "pp = \"\"" >> "/config/sabnzbd.ini" && \ echo "pp = \"\"" >> "/config/sabnzbd.ini" && \
echo "name = sonarr" >> "/config/sabnzbd.ini" && \ echo "name = sonarr" >> "/config/sabnzbd.ini" && \
echo "script = video-pp.bash" >> "/config/sabnzbd.ini" && \ echo "script = sonarr-pp.bash" >> "/config/sabnzbd.ini" && \
echo "newzbin = \"\"" >> "/config/sabnzbd.ini" && \ echo "newzbin = \"\"" >> "/config/sabnzbd.ini" && \
echo "order = 2" >> "/config/sabnzbd.ini" && \ echo "order = 2" >> "/config/sabnzbd.ini" && \
echo "dir = sonarr" >> "/config/sabnzbd.ini" && \ echo "dir = sonarr" >> "/config/sabnzbd.ini" && \

Loading…
Cancel
Save