Skip to content

Commit

Permalink
(postgresql) god dammit
Browse files Browse the repository at this point in the history
  • Loading branch information
majkinetor committed Sep 27, 2024
1 parent ccb9779 commit 23e6f97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion postgresql/update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function global:au_GetLatest {
$version = $version.Replace('*', '')

$tds[4] -match 'href="(.+?)"' | Out-Null
$href = $Matches[1].Trim()
$href = $Matches[1]

if (!$href) { Write-Host 'No href for' $version; continue }

Expand All @@ -73,6 +73,7 @@ function global:au_GetLatest {
ReleaseNotes = "https://www.postgresql.org/docs/$major/static/release.html"
SoftwareName = "PostgreSQL $major*"
}
if ($s1.Url64.Trim() -eq '') { Write-Host "no URL for" $item.version; continue }

$s2 = @{
Version = $item.version
Expand Down

0 comments on commit 23e6f97

Please sign in to comment.