get latest postgresql.tar.gz

This commit is contained in:
chrisfu 2025-07-13 17:32:23 -07:00
parent 6e4f2cb4e7
commit b6095e1f7c

12
src/get.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
set -ex
brew update && brew install wget
if [ ! -e postgresql-17.5.tar.gz ]; then
wget https://ftp.postgresql.org/pub/source/v17.5/postgresql-17.5.tar.gz
fi
if [ ! -e postgresql-17.5.tar.gz.md5 ]; then
wget https://ftp.postgresql.org/pub/source/v17.5/postgresql-17.5.tar.gz.md5
fi