Skip to content

Commit

Permalink
AU: 1 updated - owncloud-client
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed Mar 5, 2018
1 parent f2e9866 commit 2c755a2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion automatic/owncloud-client/owncloud-client.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>owncloud-client</id>
<version>2.4.0.8894</version>
<version>2.4.1.9270</version>
<title>ownCloud Windows Client</title>
<owners>chocolatey</owners>
<authors>ownCloud developers</authors>
Expand Down
4 changes: 2 additions & 2 deletions automatic/owncloud-client/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ $packageArgs = @{
fileType = 'exe'
softwareName = 'ownCloud'

checksum = '682ad84cbbea23f4ef9540f0552a948446572af4310b995f922f372cf14e2056'
checksum = '6424c6f2c462b1d48f9fdd28f097654b36b2c995bc6ad75a320900e845df8bca'
checksumType = 'sha256'
url = 'https://download.owncloud.com/desktop/stable/ownCloud-2.4.0.8894-setup.exe'
url = 'https://download.owncloud.com/desktop/stable/ownCloud-2.4.1.9270-setup.exe'

silentArgs = '/S'
validExitCodes = @(0)
Expand Down
4 changes: 2 additions & 2 deletions automatic/owncloud-client/tools/chocolateyUninstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ $packageName = 'owncloud-client'
[array]$key = Get-UninstallRegistryKey -SoftwareName 'ownCloud'

if ($key.Count -eq 1) {
$key | % {
$key | ForEach-Object {
$packageArgs = @{
packageName = $packageName
fileType = 'EXE'
Expand All @@ -21,5 +21,5 @@ if ($key.Count -eq 1) {
Write-Warning "$key.Count matches found!"
Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
Write-Warning "Please alert package maintainer the following keys were matched:"
$key | % {Write-Warning "- $_.DisplayName"}
$key | ForEach-Object {Write-Warning "- $_.DisplayName"}
}

0 comments on commit 2c755a2

Please sign in to comment.