Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Commit

Permalink
AU: 1 updated - sonarr
Browse files Browse the repository at this point in the history
  • Loading branch information
JourneyOver committed Mar 24, 2019
1 parent d7b5532 commit 81d3355
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
4 changes: 2 additions & 2 deletions automatic/sonarr/legal/VERIFICATION.txt
Expand Up @@ -9,14 +9,14 @@ and can be verified by doing the following:

1. Download the following:

url: <https://download.sonarr.tv/v2/master/latest/NzbDrone.master.exe>
url: <https://download.sonarr.tv/v2/develop/latest/NzbDrone.develop.exe>

2. You can obtain the checksum using one of the following methods:
- Use powershell function 'Get-FileHash'
- Use Chocolatey utility 'checksum.exe'

checksum type: sha256
checksum: 7C3C6577C28F700CDE65D9658FC3C3AC6CC5FE3B8539212BF2A572362CA5493C
checksum: 9E7176EA6FCF009B39D96F38ECD702BBB412901D931D1FD9FEF95899344A9006

Using AU:

Expand Down
2 changes: 1 addition & 1 deletion automatic/sonarr/sonarr.json
@@ -1,5 +1,5 @@
{
"phantom": "3.0.1.411-phantom",
"beta": "2.0.0.5318-beta",
"beta": "2.0.0.5320-beta",
"stable": "2.0.0.5319"
}
2 changes: 1 addition & 1 deletion automatic/sonarr/sonarr.nuspec
Expand Up @@ -4,7 +4,7 @@
<metadata>
<!-- Read this before publishing packages to chocolatey.org: https://github.com/chocolatey/chocolatey/wiki/CreatePackages -->
<id>sonarr</id>
<version>2.0.0.53190</version>
<version>2.0.0.5320-beta</version>
<packageSourceUrl>https://github.com/JourneyOver/chocolatey-packages/tree/master/automatic/sonarr</packageSourceUrl>
<owners>JourneyOver, dtgm</owners>
<title>Sonarr</title>
Expand Down
9 changes: 9 additions & 0 deletions automatic/sonarr/tools/chocolateyUninstall.ps1
Expand Up @@ -15,3 +15,12 @@ $packageArgs = @{
}

Uninstall-ChocolateyPackage @packageArgs

#remove Sonarr folder that gets left behind
$fexist = Test-Path $env:ProgramData\NzbDrone
if ($fexist) {
Write-Host "Removing Sonarr Folder that's left behind"
Remove-Item $env:ProgramData\NzbDrone -Recurse -Force
} else {
Write-Host "Sonarr Folder not found"
}

0 comments on commit 81d3355

Please sign in to comment.