postfix: switch mirror in postfix update script

Per the official mirror list the johnriley cdn went offline around
2025-03-03.
This commit is contained in:
Martin Weinelt 2025-06-16 01:09:18 +02:00
parent 7d6c8e24ce
commit c87ebafd97
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -5,6 +5,6 @@ set -eu -o pipefail
# Expect the text in format of '<a href="official/postfix-3.7.4.tar.gz">Source code</a> |'
# Stable release goes first.
new_version="$(curl -s http://cdn.postfix.johnriley.me/mirrors/postfix-release/index.html |
new_version="$(curl -s https://postfix-mirror.horus-it.com/postfix-release/index.html |
pcregrep -o1 '"official/postfix-([0-9.]+)[.]tar[.]gz">' | head -n1)"
update-source-version postfix "$new_version"