Update 02-script-setup.bash

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

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

Loading…
Cancel
Save