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"