From ddcbb84f17479a448ff3ee0f663d6de6f8a0d61f Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Mon, 16 Mar 2020 17:39:33 -0400 Subject: [PATCH] Update 02-script-setup.bash --- root/etc/cont-init.d/02-script-setup.bash | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/root/etc/cont-init.d/02-script-setup.bash b/root/etc/cont-init.d/02-script-setup.bash index 43b60e9..a54c0cc 100644 --- a/root/etc/cont-init.d/02-script-setup.bash +++ b/root/etc/cont-init.d/02-script-setup.bash @@ -7,11 +7,17 @@ if [ ! -d "/config/scripts" ]; then fi # link config file for use -if [ ! -f "/config/scripts/Audio-PP.bash" ]; then - ln -s "/usr/local/sabnzbd-scripts/Audio-PP.bash" "/config/scripts/Audio-PP.bash" +if [ ! -f "/config/scripts/audio-pp.bash" ]; then + ln -s "/usr/local/sabnzbd-scripts/audio-pp.bash" "/config/scripts/audio-pp.bash" chmod 0777 "/config/scripts/Audio-PP.bash" fi +# link config file for use +if [ ! -f "/config/scripts/video-pp.bash" ]; then + ln -s "/usr/local/sabnzbd-scripts/video-pp.bash" "/config/scripts/video-pp.bash" + chmod 0777 "/config/scripts/video-pp.bash" +fi + # Create downloads incomplete directory if [ ! -d "/downloads/sabnzbd/incomplete" ]; then mkdir -p "/downloads/sabnzbd/incomplete"