diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-03-11 10:13:09 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-03-11 10:13:09 +0000 |
commit | f8e89de0a10192799bed2c5de438dfce44fe1e8b (patch) | |
tree | 544e2d65509832a179242af6f38f57f351c6cece /main | |
parent | 48b4da5074535b34ba4eb1bf88fabbbe3ced2799 (diff) | |
download | aports-f8e89de0a10192799bed2c5de438dfce44fe1e8b.tar.bz2 aports-f8e89de0a10192799bed2c5de438dfce44fe1e8b.tar.xz |
main/postgresql: fix pre-upgrade script
ref #2751
Diffstat (limited to 'main')
-rw-r--r-- | main/postgresql/APKBUILD | 2 | ||||
-rw-r--r-- | main/postgresql/postgresql.pre-upgrade | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/main/postgresql/APKBUILD b/main/postgresql/APKBUILD index 027b64ce58..f43c3b7071 100644 --- a/main/postgresql/APKBUILD +++ b/main/postgresql/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=postgresql pkgver=9.3.3 -pkgrel=1 +pkgrel=2 pkgdesc="A sophisticated object-relational DBMS" url="http://www.postgresql.org/" arch="all" diff --git a/main/postgresql/postgresql.pre-upgrade b/main/postgresql/postgresql.pre-upgrade index bcdedaac88..6116252c19 100644 --- a/main/postgresql/postgresql.pre-upgrade +++ b/main/postgresql/postgresql.pre-upgrade @@ -3,7 +3,7 @@ new="$1" old="$2" -pgver=${new%*.} +pgver=${new%.*} compare=$(apk version -t "$old" $pgver) # check if we upgrade from earlier than $pgver and if it is running |