diff options
author | cvsdist <cvsdist@fedoraproject.org> | 2004-09-09 10:38:47 +0000 |
---|---|---|
committer | cvsdist <cvsdist@fedoraproject.org> | 2004-09-09 10:38:47 +0000 |
commit | 68d4798ff5f3820aac52a6f4bcd3b2062d6f2f18 (patch) | |
tree | 8e9deba9235f90315b4662b3f3182515ed58ef69 /postgresql.init | |
parent | 4fcf7007a779f3187a68ff023f361517e55707d7 (diff) | |
download | postgresql-setup-68d4798ff5f3820aac52a6f4bcd3b2062d6f2f18.tar.gz postgresql-setup-68d4798ff5f3820aac52a6f4bcd3b2062d6f2f18.tar.xz postgresql-setup-68d4798ff5f3820aac52a6f4bcd3b2062d6f2f18.zip |
auto-import postgresql-7.2-0.7.1 from postgresql-7.2-0.7.1.src.rpmpostgresql-7_2-0_7_1
Diffstat (limited to 'postgresql.init')
-rw-r--r-- | postgresql.init | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/postgresql.init b/postgresql.init index 5d198eb..47d9cb5 100644 --- a/postgresql.init +++ b/postgresql.init @@ -39,8 +39,11 @@ # sync up. # Karl's fixes for some quoting issues. +# Version 7.2b2 Lamar Owen <lamar.owen@wgcr.org> +# version change. + # PGVERSION is: -PGVERSION=7.1.3 +PGVERSION=7.2 # Source function library. INITD=/etc/rc.d/init.d @@ -75,7 +78,7 @@ start(){ then # Check version of existing PGDATA - if [ `cat $PGDATA/PG_VERSION` != '7.1' ] + if [ `cat $PGDATA/PG_VERSION` != '7.2' ] then SYSDOCDIR="(Your System's documentation directory)" if [ -d /usr/doc/postgresql-$PGVERSION ] @@ -95,10 +98,17 @@ start(){ SYSDOCDIR=/usr/share/doc/packages fi echo - echo $"An old version of the database format was found." - echo $"You need to upgrade the data format before using PostgreSQL." - echo $"See $SYSDOCDIR/postgresql-$PGVERSION/README.rpm-dist for more information." + echo $"An old version of the database format was found.\nYou need to upgrade the data format before using PostgreSQL.\nSee $SYSDOCDIR/postgresql-$PGVERSION/README.rpm-dist for more information." exit 1 +# This doesn't seem to do anything useful... +# else +# if echo "$TYPESET"|grep "declare -f success ()" >/dev/null +# then +# success "$PSQL_CHECK" +# else +# echo " [ OK ]" +# fi +# echo fi # No existing PGDATA! Initdb it. @@ -223,3 +233,4 @@ esac exit 0 + |