SickBeard - Additional installer code
- Complete uninstall script undoes configuration changes to SABNzbd - Use new WaitForSuccess helper - Wait for SickBeard to be accepting reqs before modifying config.ini - PATH and PYTHONHOME need to be set for MACHINE so that SABNzbd can find python.exe as SYSTEM to call sabToSickBeard.py - Config files should always be written as UTF8 (not Unicode or ASCII), - However, AutoProcess.cfg cannot have UTF8 BOM, so saving as ASCII - Replacing 0.0.0.0 with localhost - Support cloning into an empty Sick-Beard dir under site-packages - Minor logging tweaks - Use Season folders when sorting files - Make sure to trash processed files
This commit is contained in:
@@ -128,7 +128,7 @@ function Out-IniFile
|
||||
Write-Verbose "[INFO]: Out-IniFile writing file [$FilePath]"
|
||||
if ((New-Object IO.FileInfo($FilePath)).Extension -ne '.ini')
|
||||
{
|
||||
Write-Warning 'Out-IniFile [$FilePath] does not end in .ini extension'
|
||||
Write-Warning "Out-IniFile [$FilePath] does not end in .ini extension"
|
||||
}
|
||||
|
||||
if ((Test-Path $FilePath) -and (!$Force))
|
||||
@@ -178,4 +178,4 @@ function Out-IniFile
|
||||
Write-Verbose "[SUCCESS]: Out-IniFile wrote file [$outFile]"
|
||||
if ($PassThru) { return $outFile }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user