Commit 04099319 authored by Francesco Marinucci's avatar Francesco Marinucci
Browse files

postgresql: fixed wrong version in check-db-dir script

parent 105a574b
......@@ -7,7 +7,7 @@ pkgname=('postgresql-libs'
pkgver=9.6.1
_majorver=${pkgver%.*}
# When upgrading to a major version, remember to update the postgresql-check-db-dir file accordingly!!
pkgrel=1
pkgrel=2
arch=('x86_64')
url='http://www.postgresql.org/'
license=('custom:PostgreSQL')
......@@ -21,7 +21,7 @@ source=("ftp://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar
'postgresql.service'
'postgresql.tmpfiles.conf')
sha256sums=('e5101e0a49141fc12a7018c6dad594694d3a3325f5ab71e93e0e51bd94e51fcd'
'f15418433b7d9a153eea22af58cc64fda462144d7039d1083ae1e2e489cc303a'
'e0b86be2aba21517061563b235c485d723e7af6273ced3fd23b41c4b5431677f'
'8538619cb8bea51078b605ad64fe22abd6050373c7ae3ad6595178da52f6a7d9'
'419550699aae3d19715e87e51f32d1ad50cbb5d3175794f5476697572383b4e3'
'6abb842764bbed74ea4a269d24f1e73d1c0b1d8ecd6e2e6fb5fb10590298605e'
......
......@@ -16,9 +16,9 @@ then
fi
# PGMAJORVERSION is major version
PGMAJORVERSION=9.4
PGMAJORVERSION=9.6
# PREVMAJORVERSION is the previous major version, e.g., 8.4, for upgrades
PREVMAJORVERSION=9.3
PREVMAJORVERSION=9.4
# 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