Skip to content

Commit

Permalink
AU: 1 updated - postgresql9
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed Feb 18, 2020
1 parent 0062dbf commit 4c073b7
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions postgresql/postgresql.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"9.4": "9.4.25",
"9.4": "9.4.26",
"9.5": "9.5.21",
"9.6": "9.6.17",
"10.10": "10.10",
"11.5": "11.5",
"postgresql": "12.2",
"postgresql-9.4": "9.4.25",
"postgresql-9.4": "9.4.26",
"postgresql-10.10": "10.10",
"postgresql-9.5": "9.5.21",
"postgresql-9.6": "9.6.17",
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>postgresql12</id>
<version>12.2</version>
<id>postgresql9</id>
<version>9.4.26</version>
<title>PostgreSQL</title>
<authors>PostgreSQL Global Development Group</authors>
<owners>majkinetor, cole.mike</owners>
Expand Down Expand Up @@ -74,7 +74,7 @@ cinst postgresql12 --force
]]></description>
<summary>PostgreSQL is an object-relational database management system</summary>
<releaseNotes>https://www.postgresql.org/docs/12/static/release.html</releaseNotes>
<releaseNotes>https://www.postgresql.org/docs/9/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-12.2-1-windows-x64.exe'
checksum64 = '2DEE704843FEFCEBB4064E40DFFAFB6FF6A9188D315BD455A17AC90D5318275A'
url64 = 'https://get.enterprisedb.com/postgresql/postgresql-9.4.26-1-windows-x64.exe'
checksum64 = '028F48ACB0AC5AEC5B6C4B87BA827030932427A3511BEB6BE2784BFCB51E8F20'
checksumType64 = 'sha256'
url = ''
checksum = ''
url = 'https://get.enterprisedb.com/postgresql/postgresql-9.4.26-1-windows.exe'
checksum = '19AE10CD609DE09BD0D1890076AF3D429B5FEC0FEDD22F65CF158AC0773FBD4C'
checksumType32 = 'sha256'
silentArgs = ($silentArgs.Keys | % { "--{0} {1}" -f $_.Tolower(), $silentArgs.$_}) -join ' '
validExitCodes = @(0)
softwareName = 'PostgreSQL 12*'
softwareName = 'PostgreSQL 9*'
}
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 12*'
$softwareNamePattern = 'PostgreSQL 9*'

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

0 comments on commit 4c073b7

Please sign in to comment.