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>
|
<metadata>
|
||||||
<id>SickBeard</id>
|
<id>SickBeard</id>
|
||||||
<title>Sick Beard Usenet PVR</title>
|
<title>Sick Beard Usenet PVR</title>
|
||||||
<version>2012.11.04</version>
|
<version>2012.11.04.1</version>
|
||||||
<authors>midgetspy</authors>
|
<authors>midgetspy</authors>
|
||||||
<owners>Ethan Brown</owners>
|
<owners>Ethan Brown</owners>
|
||||||
<summary>The ultimate PVR application that searches for and manages your TV shows.</summary>
|
<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
|
# found a legit scripts dir, so delete SickBeard files
|
||||||
if ($scriptsDir -and ($scriptsDir -ne "`"`"") -and (Test-Path $scriptsDir))
|
if ($scriptsDir -and ($scriptsDir -ne "`"`"") -and (Test-Path $scriptsDir))
|
||||||
{
|
{
|
||||||
Write-Host "Found SABnzbd+ script_dir $scriptsDir"
|
Write-Warning "SABnzbd+ post-processing scripts at $scriptsDir must be deleted manually"
|
||||||
$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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$tv = $sabconfig.categories.tv
|
$tv = $sabconfig.categories.tv
|
||||||
|
Reference in New Issue
Block a user