Fix for bug #1780 - the install scripts crash. This happens in PHP when a pg_connect() connection closes. It seems to be a documented bug in PHP. It doesnt hurt the install process because it only crashes when the connection is closed, and it is only closed once the script is done. I changed the Makefile.in script to ignore these errors.

This commit is contained in:
paul 2006-10-04 16:18:01 +00:00
parent 56af8d17f8
commit f96ef8a92d
2 changed files with 5 additions and 5 deletions

View File

@ -178,10 +178,10 @@ dir_setup: ${DOXYGEN_DIR}
bin/setupDirs.sh ${STOR_DIR} ${ACCESS_DIR} ${TRANS_DIR} ${BUFF_DIR}
db_init:
cd var/install; php -q install.php
-cd var/install && php -q install.php
db_clean:
cd var/install; php -q uninstall.php
-cd var/install && php -q uninstall.php
${TMP_DIR}:
${MKDIR} ${TMP_DIR}

View File

@ -209,7 +209,7 @@ endif
init_database:
ifeq (@INIT_LS_DATABASE@,yes)
cd ${DEST_DIR}/install && ${PHP} -q install.php
-cd ${DEST_DIR}/install && ${PHP} -q install.php
endif
@ -232,10 +232,10 @@ dir_setup: ${DOXYGEN_DIR}
bin/setupDirs.sh ${STOR_DIR} ${ACCESS_DIR} ${TRANS_DIR} ${BUFF_DIR}
db_init:
cd var/install; php -q install.php
-cd var/install && php -q install.php
db_clean:
cd var/install; php -q uninstall.php
-cd var/install && php -q uninstall.php
reset:
./bin/resetStorage.sh