didn't mean to to check this in
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 25 Oct 2008 13:33:50 +0000 (13:33 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 25 Oct 2008 13:33:50 +0000 (13:33 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@10908 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/build-db.sh

index 06bd331..816ab74 100755 (executable)
@@ -15,8 +15,7 @@ export PGHOST PGPORT PGDATABASE PGUSER PGPASSWORD
 # ---------------------------------------------------------------------------
 # Lookup the database version from the PostgreSQL server.
 # ---------------------------------------------------------------------------
-#DB_VERSION=`psql -qtc 'show server_version;' | xargs | cut -c1,3`
-DB_VERSION=81
+DB_VERSION=`psql -qtc 'show server_version;' | xargs | cut -c1,3`
 if [ -z "$DB_VERSION" ] || [ `echo $DB_VERSION | grep -c '[^0-9]'` != 0 ]; then
   cat <<EOM
 ********************************************************************************