From aeb2e9752d5263006f51fede90e9621959a8184d Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Tue, 17 Mar 2020 19:02:11 -0400 Subject: [PATCH] Update 32-sma-setup.bash --- root/etc/cont-init.d/32-sma-setup.bash | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/root/etc/cont-init.d/32-sma-setup.bash b/root/etc/cont-init.d/32-sma-setup.bash index 096db9c..95cf9ea 100644 --- a/root/etc/cont-init.d/32-sma-setup.bash +++ b/root/etc/cont-init.d/32-sma-setup.bash @@ -16,27 +16,26 @@ fi # Remove sonarr log if [ ! -f "/config/scripts/logs/sonarr-pp.log" ]; then - rm "/config/scripts/configs/sonarr-pp.log" && \ + rm "/config/scripts/logs/sonarr-pp.log" && \ sleep 0.1 fi # Remove radarr log if [ ! -f "/config/scripts/logs/radarr-pp.log" ]; then - rm "/config/scripts/configs/radarr-pp.log" && \ + rm "/config/scripts/logs/radarr-pp.log" && \ sleep 0.1 fi # create sonarr log if [ ! -f "/config/scripts/logs/sonarr-pp.log" ]; then - touch "/config/scripts/configs/sonarr-pp.log" + touch "/config/scripts/logs/sonarr-pp.log" fi # create radarr log -if [ ! -f "/config/scripts/configs/radarr-pp.log" ]; then - touch "/config/scripts/configs/radarr-pp.log" +if [ ! -f "/config/scripts/logs/radarr-pp.log" ]; then + touch "/config/scripts/logs/radarr-pp.log" fi - # remove sickbeard_mp4_automator log if exists if [ -f "/var/log/sma.log" ]; then rm "/var/log/sma.log"