Update 33-script-setup.bash

pull/5/head
RandomNinjaAtk 5 years ago committed by GitHub
parent 862af513ce
commit 6505b684b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -14,6 +14,17 @@ if [ ! -f "/config/scripts/audio-pp.bash" ]; then
chmod 0777 "/config/scripts/audio-pp.bash" chmod 0777 "/config/scripts/audio-pp.bash"
fi fi
if [ -f "/config/scripts/video-pp.bash" ]; then
rm "/config/scripts/video-pp.bash"
sleep 0.1
fi
# cp config file for use
if [ ! -f "/config/scripts/video-pp.bash" ]; then
cp "/usr/local/sabnzbd-scripts/video-pp.bash" "/config/scripts/video-pp.bash" && \
chmod 0777 "/config/scripts/video-pp.bash"
fi
if [ -f "/config/scripts/radarr-pp.bash" ]; then if [ -f "/config/scripts/radarr-pp.bash" ]; then
rm "/config/scripts/radarr-pp.bash" rm "/config/scripts/radarr-pp.bash"
sleep 0.1 sleep 0.1

Loading…
Cancel
Save