Commit 4ee0baa6 authored by Luca Giambonini's avatar Luca Giambonini

postgresql fix PREVMAJORVERSION

parent 6fe5c97a
Pipeline #2835 passed with stages
in 4 minutes and 56 seconds
......@@ -7,7 +7,7 @@ pkgname=('postgresql-libs'
pkgver=10.6
_majorver=${pkgver%.*}
# When upgrading to a major version, remember to update the postgresql-check-db-dir file accordingly!!
pkgrel=3
pkgrel=4
arch=('x86_64')
url='https://www.postgresql.org/'
license=('custom:PostgreSQL')
......@@ -21,7 +21,7 @@ source=("https://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.t
'postgresql.service'
'postgresql.tmpfiles.conf')
sha256sums=('68a8276f08bda8fbefe562faaf8831cb20664a7a1d3ffdbbcc5b83e08637624b'
'0ee41f2ecfc15c1d1d00b996b7b41d5e1f12d6d1f656e3659fee87cd622c0deb'
'888a1d44f03fccfa4bf344ee45824fefb846ae3c1c0c40113ad6020b4be3b0cf'
'8538619cb8bea51078b605ad64fe22abd6050373c7ae3ad6595178da52f6a7d9'
'419550699aae3d19715e87e51f32d1ad50cbb5d3175794f5476697572383b4e3'
'6abb842764bbed74ea4a269d24f1e73d1c0b1d8ecd6e2e6fb5fb10590298605e'
......
......@@ -18,7 +18,7 @@ fi
# PGMAJORVERSION is major version
PGMAJORVERSION=10
# PREVMAJORVERSION is the previous major version
PREVMAJORVERSION=9
PREVMAJORVERSION=9.6
# Check for the PGDATA structure
if [ -f "$PGDATA/PG_VERSION" ] && [ -d "$PGDATA/base" ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment