Index: unix_installer/patch-package/install-lams-patch.sh =================================================================== diff -u -rec43dd24ac3e3559c42ee8141a6e98564834c510 -rcfc08715f12b74e387d6ef7261c622f003354348 --- unix_installer/patch-package/install-lams-patch.sh (.../install-lams-patch.sh) (revision ec43dd24ac3e3559c42ee8141a6e98564834c510) +++ unix_installer/patch-package/install-lams-patch.sh (.../install-lams-patch.sh) (revision cfc08715f12b74e387d6ef7261c622f003354348) @@ -253,7 +253,13 @@ fi printf "\nUpdating database...\n" -ant/bin/ant -logfile update_db.log -buildfile ant-scripts/update_db.xml update_db +if [ $USE_ETC_PROPERTIES -ne 1 ] +then + ant/bin/ant -logfile update_db.log -buildfile ant-scripts/update_db.xml -Dpropertiesfile=../lams.properties update_db +else + ant/bin/ant -logfile update_db.log -buildfile ant-scripts/update_db.xml -Dpropertiesfile=/etc/lams2/lams.properties update_db +fi + if [ "$?" -ne "0" ] then printf "\nDatabase update failed, check update_db.log."