Skip to content

Commit

Permalink
AU: 1 updated - postgresql10
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed May 28, 2021
1 parent 50fa87e commit 6d0a989
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions postgresql/postgresql.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"9.4": "9.4.26",
"9.5": "9.5.25.1",
"9.6": "9.6.22.1",
"9.6": "9.6.22.2",
"10.10": "10.10",
"11.5": "11.5",
"postgresql": "13.3.2",
"postgresql-9.4": "9.4.26",
"postgresql-10.10": "10.10",
"postgresql-9.5": "9.5.25.1",
"postgresql-9.6": "9.6.22.1",
"postgresql-9.6": "9.6.22.2",
"postgresql-12.0": "12.0",
"12.0": "12.0",
"postgresql-10.11": "10.11",
Expand Down Expand Up @@ -53,8 +53,8 @@
"12.6": "12.6.3",
"postgresql-13.2": "13.2.2",
"13.2": "13.2.2",
"postgresql-10.17": "10.17.1",
"10.17": "10.17.1",
"postgresql-10.17": "10.17.2",
"10.17": "10.17.2",
"postgresql-11.12": "11.12.2",
"11.12": "11.12.2",
"postgresql-12.7": "12.7.2",
Expand Down
6 changes: 3 additions & 3 deletions postgresql/postgresql.nuspec
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>postgresql13</id>
<version>13.3.2</version>
<id>postgresql10</id>
<version>10.17.2</version>
<title>PostgreSQL</title>
<authors>PostgreSQL Global Development Group</authors>
<owners>majkinetor, cole.mike</owners>
Expand Down Expand Up @@ -83,7 +83,7 @@ cinst postgresql12 --force
```
]]></description>
<summary>PostgreSQL is an object-relational database management system</summary>
<releaseNotes>https://www.postgresql.org/docs/13/static/release.html</releaseNotes>
<releaseNotes>https://www.postgresql.org/docs/10/static/release.html</releaseNotes>
<copyright>Copyright © 1996-2019 The PostgreSQL Global Development Group</copyright>
<tags>foss cross-platform postgres postgresql sql relational database admin</tags>
<projectSourceUrl>https://github.com/postgres/postgres</projectSourceUrl>
Expand Down
10 changes: 5 additions & 5 deletions postgresql/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ $silentArgs = @{
$packageArgs = @{
packageName = $Env:ChocolateyPackageName
fileType = 'exe'
url64 = 'https://get.enterprisedb.com/postgresql/postgresql-13.3-2-windows-x64.exe'
checksum64 = 'B48EB85D31DEFFA1E3B31377B93CD6E0AF3F190B99C763BB118CADD3FC1A555A'
url64 = 'https://get.enterprisedb.com/postgresql/postgresql-10.17-2-windows-x64.exe'
checksum64 = 'A0D34E4E0E90F445B0CDBC4FFC68BF55F2E297E58E738D84D92B2AE1A7FA7448'
checksumType64 = 'sha256'
url = ''
checksum = ''
url = 'https://get.enterprisedb.com/postgresql/postgresql-10.17-1-windows.exe'
checksum = 'B88EC7B4DF6050D866739B5A2766933E4F9E5E62F142F8BC8E310114DBB44BF1'
checksumType32 = 'sha256'
silentArgs = ($silentArgs.Keys | % { "--{0} {1}" -f $_.Tolower(), $silentArgs.$_}) -join ' '
validExitCodes = @(0)
softwareName = 'PostgreSQL 13*'
softwareName = 'PostgreSQL 10*'
}
Install-ChocolateyPackage @packageArgs
Write-Host "Installation log: $Env:TEMP\install-postgresql.log"
Expand Down
2 changes: 1 addition & 1 deletion postgresql/tools/chocolateyUninstall.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$ErrorActionPreference = 'Stop'

$packageName = $Env:ChocolateyPackageName
$softwareNamePattern = 'PostgreSQL 13*'
$softwareNamePattern = 'PostgreSQL 10*'

[array] $key = Get-UninstallRegistryKey $softwareNamePattern
if ($key.Count -eq 1) {
Expand Down

0 comments on commit 6d0a989

Please sign in to comment.