]> git.pld-linux.org Git - packages/postgresql.git/commitdiff
- fix old version detection in pre script
authorAdam Gołębiowski <adamg@pld-linux.org>
Wed, 21 Oct 2015 11:27:05 +0000 (13:27 +0200)
committerAdam Gołębiowski <adamg@pld-linux.org>
Wed, 21 Oct 2015 11:27:05 +0000 (13:27 +0200)
postgresql.spec

index ce062328b5ed9b338094c98e99869064607711bd..81080c954d32ede61429f5b8e6a0aba7912771cd 100644 (file)
@@ -904,7 +904,7 @@ fi
 foundold=0
 for pgdir in $PG_DB_CLUSTERS; do
        if [ -f $pgdir/PG_VERSION ]; then
-               if [ $(cat $pgdir/PG_VERSION) != '9.3' ]; then
+               if [ $(cat $pgdir/PG_VERSION) != '%{mver}' ]; then
                        echo "Found database(s) in older, incompatible format in cluster $pgdir."
                        foundold=1
                fi
This page took 0.173869 seconds and 4 git commands to generate.