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:
parent
099b7df071
commit
646ef8b2bb
|
@ -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..."
|
||||
|
|
Loading…
Reference in New Issue