Index: unix_installer/patch-package/install-lams-patch.sh =================================================================== RCS file: /usr/local/cvsroot/unix_installer/patch-package/install-lams-patch.sh,v diff -u -r1.3 -r1.4 --- unix_installer/patch-package/install-lams-patch.sh 8 Sep 2008 00:08:13 -0000 1.3 +++ unix_installer/patch-package/install-lams-patch.sh 30 Nov 2008 23:09:36 -0000 1.4 @@ -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."