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/postgresql/postgresql.pre-upgrade | |
parent | 48b4da5074535b34ba4eb1bf88fabbbe3ced2799 (diff) | |
download | aports-f8e89de0a10192799bed2c5de438dfce44fe1e8b.tar.bz2 aports-f8e89de0a10192799bed2c5de438dfce44fe1e8b.tar.xz |
main/postgresql: fix pre-upgrade script
ref #2751
Diffstat (limited to 'main/postgresql/postgresql.pre-upgrade')
-rw-r--r-- | main/postgresql/postgresql.pre-upgrade | 2 |
1 files changed, 1 insertions, 1 deletions
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 |