From 7488c07ec466ac9adab1c3d2da1aaca4216ff3ed Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Thu, 28 Jan 2021 11:20:39 -0500 Subject: [PATCH] v1.0.13 - SMA log bugfix... --- root/scripts/video-pp.bash | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/root/scripts/video-pp.bash b/root/scripts/video-pp.bash index 5d75369..13d1bbf 100644 --- a/root/scripts/video-pp.bash +++ b/root/scripts/video-pp.bash @@ -11,7 +11,7 @@ function Configuration { log "##### SABnzbd Category: $category" log "##### DOCKER: $TITLE" log "##### SCRIPT: Video Post Processor ($TITLESHORT)" - log "##### SCRIPT VERSION: 1.0.12" + log "##### SCRIPT VERSION: 1.0.13" log "##### DOCKER VERSION: $VERSION" log "##### CONFIGURATION VERIFICATION" @@ -328,9 +328,8 @@ function Main { if [ ${VIDEO_SMA} = TRUE ]; then if [ -f "${basefilename}.${extension}" ]; then - if [ -f /config/scripts/logs/sma.log ]; then - chmod 777 /config/scripts/logs/sma.log - chown abc:abc /config/scripts/logs/sma.log + if [ -f /usr/local/sma/config/sma.log ]; then + rm /usr/local/sma/config/sma.log fi log "===START SMA" # Manual run of Sickbeard MP4 Automator