-if [ -z "$SGML_CATALOG_FILES"]
-then
- if [ ! -f "$FPTOOLS_CATALOG_FILE" ]
- then
- echo "CATALOG file not set up; see installation guide for details."
- exit 1
- fi
- SGML_CATALOG_FILES=$FPTOOLS_CATALOG_FILE
+if [ ! -f "$DOCBOOK_CATALOG" ] && [ ! -f "$SGML_CATALOG_FILES" ] ; then
+ echo "CATALOG file not set up; see installation guide for details."
+ exit 1