OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 06-Sep-2007 11:36:10
Branch: HEAD Handle: 2007090610360900
Modified files:
openpkg-src/postgresql postgresql.spec
Log:
check for PG_VERSION
Summary:
Revision Changes Path
1.243 +1 -1 openpkg-src/postgresql/postgresql.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/postgresql/postgresql.spec
============================================================================
$ cvs diff -u -r1.242 -r1.243 postgresql.spec
--- openpkg-src/postgresql/postgresql.spec 6 Sep 2007 09:25:38 -0000
1.242
+++ openpkg-src/postgresql/postgresql.spec 6 Sep 2007 09:36:09 -0000
1.243
@@ -657,7 +657,7 @@
rm -f $RPM_INSTALL_PREFIX/var/postgresql/run/pg_initdb.pw" 2>&1
| \
$RPM_INSTALL_PREFIX/lib/openpkg/shtool prop \
-p "Creating initial PostgreSQL DB in
$RPM_INSTALL_PREFIX/var/postgresql/db"
- if [ ! -f $RPM_INSTALL_PREFIX/var/postgresql/db/postgresql.conf ];
then
+ if [ ! -f $RPM_INSTALL_PREFIX/var/postgresql/db/PG_VERSION ]; then
echo "ERROR: failed to create initial PostgreSQL database" 1>&2
exit 1
fi
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]