Update 32-sma-setup.bash

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

@ -15,13 +15,13 @@ if [ ! -f "/config/scripts/configs/radarr-pp.ini" ]; then
fi fi
# Remove sonarr log # Remove sonarr log
if [ ! -f "/config/scripts/logs/sonarr-pp.log" ]; then if [ -f "/config/scripts/logs/sonarr-pp.log" ]; then
rm "/config/scripts/logs/sonarr-pp.log" && \ rm "/config/scripts/logs/sonarr-pp.log" && \
sleep 0.1 sleep 0.1
fi fi
# Remove radarr log # Remove radarr log
if [ ! -f "/config/scripts/logs/radarr-pp.log" ]; then if [ -f "/config/scripts/logs/radarr-pp.log" ]; then
rm "/config/scripts/logs/radarr-pp.log" && \ rm "/config/scripts/logs/radarr-pp.log" && \
sleep 0.1 sleep 0.1
fi fi
@ -36,14 +36,6 @@ if [ ! -f "/config/scripts/logs/radarr-pp.log" ]; then
touch "/config/scripts/logs/radarr-pp.log" touch "/config/scripts/logs/radarr-pp.log"
fi fi
# remove sickbeard_mp4_automator log if exists
if [ -f "/var/log/sma.log" ]; then
rm "/var/log/sma.log"
fi
touch "/var/log/sma.log"
chmod 0777 "/var/log/sma.log"
# Set ffmpeg/ffprobe location # Set ffmpeg/ffprobe location
sed -i "s/ffmpeg.exe/ffmpeg/g" "/config/scripts/configs/sonarr-pp.ini" sed -i "s/ffmpeg.exe/ffmpeg/g" "/config/scripts/configs/sonarr-pp.ini"
sed -i "s/ffprobe.exe/ffprobe/g" "/config/scripts/configs/sonarr-pp.ini" sed -i "s/ffprobe.exe/ffprobe/g" "/config/scripts/configs/sonarr-pp.ini"

Loading…
Cancel
Save