diff --git a/sonarr/AutoConfig.service b/sonarr/AutoConfig.service index b364844..fa3ba01 100644 --- a/sonarr/AutoConfig.service +++ b/sonarr/AutoConfig.service @@ -56,17 +56,10 @@ log () { echo $m_time" :: AutoConfig :: $scriptVersion :: "$1 } -if [ -f /config/extended/autoconfig ]; then - log "Sonarr previously configured with optimal settings, skipping..." - log "To re-configure Sonarr, delete the following file:" - log "/config/extended/autoconfig" - exit -fi - -if [ -f /config/extended/configs/naming.json ]; then - log "Using custom Sonarr Naming (/config/extended/configs/naming.json)..." - namingJson=$(cat /config/extended/configs/naming.json) +if [ -f /config/extended/naming.json ]; then + log "Using custom Sonarr Naming (/config/extended/naming.json)..." + namingJson=$(cat /config/extended/naming.json) else log "Getting Trash Guide Recommended Naming..." namingJson=$(curl -s "https://raw.githubusercontent.com/TRaSH-/Guides/master/docs/json/sonarr/naming/sonarr-naming.json") @@ -161,8 +154,5 @@ else log "Complete" fi -touch /config/extended/autoconfig -chmod 666 /config/extended/autoconfig - sleep infinity exit $?