1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-05-07 01:06:04 +02:00

postgres: upgrade_pg: bump major version to 15

This commit is contained in:
Evangelos Foutras 2023-02-05 21:04:23 +02:00
parent 099b7df071
commit 646ef8b2bb
No known key found for this signature in database
GPG Key ID: 51E8B148A9999C34

View File

@ -5,7 +5,7 @@ set -e
TO_VERSION=$(pacman -Q postgresql | grep -Po '(?<=postgresql )[0-9]+\.[0-9]')
to_major=${TO_VERSION%%.*}
if (( $to_major != 14 )); then
if (( $to_major != 15 )); then
# NOTE: When this happens you should check the changelog and add any
# necessary changes here. Then bump the version check.
echo "ERROR: major upgrade detected, aborting..."