CVS: moonbase/doc-tools/docbook-xsl rebuild-docbook-catalog, 1.5, 1.6

nhudson at lunar-linux.org nhudson at lunar-linux.org
Sun Sep 14 21:56:45 GMT 2003


Update of /var/cvs/lunar/moonbase/doc-tools/docbook-xsl
In directory dbguin.lunar-linux.org:/tmp/cvs-serv3318/docbook-xsl

Modified Files:
	rebuild-docbook-catalog 
Log Message:

Fix so it doesnt error out when scrollkeeper isnt installed 


Index: rebuild-docbook-catalog
===================================================================
RCS file: /var/cvs/lunar/moonbase/doc-tools/docbook-xsl/rebuild-docbook-catalog,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- rebuild-docbook-catalog	14 Sep 2003 21:52:20 -0000	1.5
+++ rebuild-docbook-catalog	14 Sep 2003 21:56:43 -0000	1.6
@@ -306,16 +306,13 @@
     exit 1
 fi
 
-echo Found Scrollkeeper DTDs in $found 
-
-#Removing what the scrollkeeper installed put in because
-#it is wrong
-
-#Adding correct place
 
-xmlcatalog --noout --add "public" \
+if [ -d $scrollkeeperdir ]; then
+   echo Found Scrollkeeper DTDs in $found
+   xmlcatalog --noout --add "public" \
    "-//OMF//DTD Scrollkeeper OMF Variant v1.0//EN" \
    "file://$found" $CATALOG
+fi
 
 #
 #




More information about the Lunar-commits mailing list