Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 23e6f97

Browse files
committed
(postgresql) god dammit
1 parent ccb9779 commit 23e6f97

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

postgresql/update.ps1

+2-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function global:au_GetLatest {
5353
$version = $version.Replace('*', '')
5454

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

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

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

7778
$s2 = @{
7879
Version = $item.version

0 commit comments

Comments
 (0)