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:
parent
56af8d17f8
commit
f96ef8a92d
|
@ -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}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue