CVS: moonbase/doc-tools/docbook-xsl POST_INSTALL, 1.2,
1.3 rebuild-docbook-catalog, 1.7, 1.8
r0dzilla at lunar-linux.org
r0dzilla at lunar-linux.org
Thu Sep 18 00:54:43 GMT 2003
Update of /var/cvs/lunar/moonbase/doc-tools/docbook-xsl
In directory dbguin.lunar-linux.org:/tmp/cvs-serv5814
Modified Files:
POST_INSTALL rebuild-docbook-catalog
Log Message:
finishing up docbook-xsl/scrollkeeper fix
Index: POST_INSTALL
===================================================================
RCS file: /var/cvs/lunar/moonbase/doc-tools/docbook-xsl/POST_INSTALL,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- POST_INSTALL 11 Jul 2003 22:38:49 -0000 1.2
+++ POST_INSTALL 18 Sep 2003 00:54:41 -0000 1.3
@@ -1,7 +1,9 @@
(
if module_installed scrollkeeper; then
+ export FORCELINSK="yes" &&
message "Rebuilding docbook catalogs" &&
- $SCRIPT_DIRECTORY/rebuild-docbook-catalog
+ $SCRIPT_DIRECTORY/rebuild-docbook-catalog &&
+ unset FORCELINSK
fi
)
Index: rebuild-docbook-catalog
===================================================================
RCS file: /var/cvs/lunar/moonbase/doc-tools/docbook-xsl/rebuild-docbook-catalog,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- rebuild-docbook-catalog 17 Sep 2003 01:34:53 -0000 1.7
+++ rebuild-docbook-catalog 18 Sep 2003 00:54:41 -0000 1.8
@@ -300,6 +300,13 @@
linforced="no"
sksearch=""
+# debugging statements
+if [ "$FORCELINSK" = "yes" ] ; then
+ echo "***FORCE RE-LIN OF SCROLLKEEPER IS ON"
+else
+ echo "***FORCE RE-LIN OF SCROLLKEEPER iS OFF"
+fi
+
until [ "$sksearch" = "end" ]
do
if [ "$linforced" = "yes" ] ; then
@@ -311,7 +318,7 @@
found=`find /usr/share/xml -name scrollkeeper-omf.dtd`
fi
if [ "$found" = "" ] ; then
- if [ "$linforced" = "no" ] ; then
+ if [ "$linforced" = "no" ] && [ "$FORCELINSK" = "yes" ]; then
linforced="yes"
echo "Looks like scrollkeeper install is missing some files..."
echo "Forcing re-compile of scrollkeeper to try to replace missing files..."
More information about the Lunar-commits
mailing list