diff --git a/pkgs/by-name/po/postfix/update.sh b/pkgs/by-name/po/postfix/update.sh index eacb548bc002..edd52c5c5c54 100755 --- a/pkgs/by-name/po/postfix/update.sh +++ b/pkgs/by-name/po/postfix/update.sh @@ -5,6 +5,6 @@ set -eu -o pipefail # Expect the text in format of 'Source code |' # 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"