SickBeard warns about SABnzbd+ scripts, doesn't delete
Behavioral change since it's possible that these scripts are being used by CouchPotato as well
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<metadata>
|
||||
<id>SickBeard</id>
|
||||
<title>Sick Beard Usenet PVR</title>
|
||||
<version>2012.11.04</version>
|
||||
<version>2012.11.04.1</version>
|
||||
<authors>midgetspy</authors>
|
||||
<owners>Ethan Brown</owners>
|
||||
<summary>The ultimate PVR application that searches for and manages your TV shows.</summary>
|
||||
|
@@ -87,13 +87,7 @@ try {
|
||||
# found a legit scripts dir, so delete SickBeard files
|
||||
if ($scriptsDir -and ($scriptsDir -ne "`"`"") -and (Test-Path $scriptsDir))
|
||||
{
|
||||
Write-Host "Found SABnzbd+ script_dir $scriptsDir"
|
||||
$sickbeardScripts = 'autoProcessTV.cfg', 'autoProcessTV.cfg.sample',
|
||||
'autoProcessTV.py', 'hellaToSickBeard.py', 'sabToSickBeard.py'
|
||||
|
||||
Write-Host "Removing SickBeard scripts $sickbeardScripts"
|
||||
Get-ChildItem -Path $scriptsDir -Include $sickbeardScripts -Recurse |
|
||||
Remove-Item -Force
|
||||
Write-Warning "SABnzbd+ post-processing scripts at $scriptsDir must be deleted manually"
|
||||
}
|
||||
|
||||
$tv = $sabconfig.categories.tv
|
||||
|
Reference in New Issue
Block a user